Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008874/0.0008874, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9106/0.9106, allocations: 177.1 MB / 202.8 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7219/0.7219, allocations: 154.6 MB / 413.8 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.115e-05, allocations: 4.953 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001804/0.001825, allocations: 1.284 MB / 0.6194 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009449/0.00277, allocations: 0.775 MB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.485e-05/0.002795, allocations: 0 / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.002813, allocations: 3.938 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.215e-05/0.002856, allocations: 7.875 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004397/0.003295, allocations: 143.2 kB / 0.6203 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.295e-05/0.003368, allocations: 19.92 kB / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.003407, allocations: 4 kB / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.797e-05/0.003465, allocations: 19.91 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.351e-05/0.003518, allocations: 8 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.003533, allocations: 0 / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000223/0.003756, allocations: 167.6 kB / 0.6205 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.003773, allocations: 4 kB / 0.6205 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.918e-05/0.003792, allocations: 7.984 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.003993, allocations: 139.6 kB / 0.6206 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.003996, allocations: 0 / 0.6206 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.372e-06/0.003998, allocations: 0 / 0.6206 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.004002, allocations: 0 / 0.6206 GB, free: 11.1 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003543/0.004356, allocations: 286 kB / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.004397, allocations: 16.03 kB / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.977e-05/0.004427, allocations: 34.75 kB / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.004457, allocations: 0.9375 kB / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.259e-05/0.004529, allocations: 105.8 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.006e-05/0.004599, allocations: 55.97 kB / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.004607, allocations: 4.375 kB / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.004726, allocations: 71.88 kB / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.004732, allocations: 192 / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.004743, allocations: 4.375 kB / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.004749, allocations: 7.938 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.458e-05/0.004803, allocations: 15.98 kB / 0.6212 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001247/0.004928, allocations: 128.8 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.005104, allocations: 42.59 kB / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.964e-05/0.005134, allocations: 16.86 kB / 0.6214 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001558/0.00529, allocations: 28 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.005308, allocations: 30.56 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.005309, allocations: 4 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.00018/0.005489, allocations: 77.55 kB / 0.6215 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.005516, allocations: 55.34 kB / 0.6216 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.79e-05/0.005564, allocations: 101.8 kB / 0.6217 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.005576, allocations: 29.7 kB / 0.6217 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.947e-05/0.005595, allocations: 80.14 kB / 0.6218 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.005617, allocations: 7.891 kB / 0.6218 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.005656, allocations: 21.67 kB / 0.6218 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.671e-05/0.005743, allocations: 314.8 kB / 0.6221 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.595e-05/0.005799, allocations: 23.92 kB / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.417e-05/0.005823, allocations: 7.984 kB / 0.6221 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.121e-05/0.005884, allocations: 32.8 kB / 0.6222 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.005886, allocations: 0 / 0.6222 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.811e-05/0.005974, allocations: 53.67 kB / 0.6222 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.005987, allocations: 4 kB / 0.6222 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.005992, allocations: 4 kB / 0.6222 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.006005, allocations: 3.938 kB / 0.6222 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.915e-05/0.006045, allocations: 4 kB / 0.6222 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.006049, allocations: 4 kB / 0.6222 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.723e-05/0.006067, allocations: 11.92 kB / 0.6222 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.006073, allocations: 4 kB / 0.6222 GB, free: 9.223 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.504e-05/0.006128, allocations: 110.8 kB / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-06/0.006135, allocations: 0 / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.00625, allocations: 65.36 kB / 0.6224 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.006253, allocations: 3.938 kB / 0.6224 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.006257, allocations: 0 / 0.6224 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.00626, allocations: 0 / 0.6224 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.538e-05/0.006335, allocations: 140.7 kB / 0.6225 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.006336, allocations: 0 / 0.6225 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-05/0.006357, allocations: 8 kB / 0.6226 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.006359, allocations: 0 / 0.6226 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.006365, allocations: 8 kB / 0.6226 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.006368, allocations: 3.938 kB / 0.6226 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.006371, allocations: 7.922 kB / 0.6226 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.416e-05/0.006455, allocations: 73.69 kB / 0.6226 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.006493, allocations: 11.98 kB / 0.6227 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.006502, allocations: 0 / 0.6227 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.175e-05/0.006534, allocations: 7.938 kB / 0.6227 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.006564, allocations: 11.92 kB / 0.6227 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.006567, allocations: 0 / 0.6227 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.785e-05/0.006595, allocations: 87.31 kB / 0.6228 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.1e-08/0.006595, allocations: 0 / 0.6228 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001754/0.006771, allocations: 35.81 kB / 0.6228 GB, free: 8.578 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003711/0.007142, allocations: 0.6513 MB / 0.6234 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.007244, allocations: 31.98 kB / 0.6235 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.007246, allocations: 0 / 0.6235 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.74e-05/0.007273, allocations: 15.92 kB / 0.6235 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.007471, allocations: 11.94 kB / 0.6235 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.007828, allocations: 154.4 kB / 0.6236 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.168e-05/0.007869, allocations: 67.33 kB / 0.6237 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.358e-05/0.007903, allocations: 11.98 kB / 0.6237 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.007931, allocations: 12.44 kB / 0.6237 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of SimCode: time 4.1e-07/0.007932, allocations: 0 / 0.6237 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01812/0.02605, allocations: 2.66 MB / 0.6263 GB, free: 5.031 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.985/7.011, allocations: 6.25 kB / 0.6263 GB, free: 5.027 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.71914141625166] Failed to read output from testmodel.py, exit status != 0: 7.091017053462565 7.102178214 7.095904089 Calling exit ...