Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.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.0008674/0.0008674, allocations: 72.44 kB / 19.17 MB, free: 0.7344 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.0008609/0.0008609, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8967/0.8967, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7 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.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 3.984 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/2.029e-05, allocations: 6.219 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_T): time 0.4094/0.4094, allocations: 171.6 MB / 0.7857 GB, free: 8.062 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.009258/0.4187, allocations: 9.216 MB / 0.7947 GB, free: 1.84 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007669/0.4194, allocations: 42 kB / 0.7947 GB, free: 1.816 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0008956/0.4203, allocations: 418.4 kB / 0.7951 GB, free: 1.547 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002069/0.4224, allocations: 1.06 MB / 0.7961 GB, free: 0.9648 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002525/0.4249, allocations: 1.428 MB / 0.7975 GB, free: 280 kB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001576/0.4265, allocations: 1.701 MB / 0.7992 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006868/0.4272, allocations: 0.6084 MB / 0.7998 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003017/0.4302, allocations: 1.93 MB / 0.8017 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004059/0.4306, allocations: 467.2 kB / 0.8021 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 6.435e-05/0.4307, allocations: 60.91 kB / 0.8022 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.4323, allocations: 1.167 MB / 0.8033 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002333/0.4325, allocations: 367.1 kB / 0.8037 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.4327, allocations: 299.6 kB / 0.8039 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.4341, allocations: 1.508 MB / 0.8054 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.4341, allocations: 0 / 0.8054 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.274e-06/0.4341, allocations: 3.938 kB / 0.8054 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.4341, allocations: 4 kB / 0.8054 GB, free: 12.66 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001119/0.4353, allocations: 1.084 MB / 0.8065 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.4353, allocations: 15.12 kB / 0.8065 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.457e-05/0.4354, allocations: 125.2 kB / 0.8066 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008983/0.4363, allocations: 296.2 kB / 0.8069 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006263/0.4369, allocations: 0.5021 MB / 0.8074 GB, free: 11.19 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.437, allocations: 55.44 kB / 0.8074 GB, free: 11.17 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.943e-05/0.437, allocations: 74.64 kB / 0.8075 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009932/0.438, allocations: 0.8956 MB / 0.8084 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.438, allocations: 1.969 kB / 0.8084 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.4381, allocations: 36.45 kB / 0.8084 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.032e-05/0.4381, allocations: 40.98 kB / 0.8085 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005933/0.4387, allocations: 0.5737 MB / 0.809 GB, free: 10.24 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.4409, allocations: 2.986 MB / 0.8119 GB, free: 7.75 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.4411, allocations: 207.6 kB / 0.8121 GB, free: 7.609 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.4413, allocations: 148.5 kB / 0.8123 GB, free: 7.523 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002976/0.4416, allocations: 108.6 kB / 0.8124 GB, free: 7.484 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.4416, allocations: 37.44 kB / 0.8124 GB, free: 7.441 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=21): time 1.463e-06/0.4416, allocations: 0 / 0.8124 GB, free: 7.441 MB / 0.6667 GB Notification: Performance of matching and sorting (n=21): time 0.0006885/0.4423, allocations: 452.2 kB / 0.8128 GB, free: 7.223 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.4423, allocations: 114.1 kB / 0.813 GB, free: 7.09 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006288/0.4429, allocations: 0.8678 MB / 0.8138 GB, free: 6.621 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.443, allocations: 32.27 kB / 0.8138 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.4432, allocations: 388.5 kB / 0.8142 GB, free: 6.25 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.4432, allocations: 75.56 kB / 0.8143 GB, free: 6.184 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.099e-05/0.4433, allocations: 64.25 kB / 0.8143 GB, free: 6.141 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.165e-05/0.4434, allocations: 324.2 kB / 0.8146 GB, free: 5.82 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.4435, allocations: 99.89 kB / 0.8147 GB, free: 5.777 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004826/0.444, allocations: 343 kB / 0.8151 GB, free: 5.449 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.4443, allocations: 306.9 kB / 0.8154 GB, free: 5.23 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4443, allocations: 6.375 kB / 0.8154 GB, free: 5.23 MB / 0.6667 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004006/0.4447, allocations: 405.8 kB / 0.8158 GB, free: 5.02 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.4447, allocations: 5.531 kB / 0.8158 GB, free: 5.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4447, allocations: 9.156 kB / 0.8158 GB, free: 5.016 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.4447, allocations: 2.906 kB / 0.8158 GB, free: 5.016 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.4449, allocations: 63.06 kB / 0.8158 GB, free: 5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.4449, allocations: 2.938 kB / 0.8158 GB, free: 5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.4451, allocations: 91.16 kB / 0.8159 GB, free: 4.934 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.4451, allocations: 17.42 kB / 0.8159 GB, free: 4.93 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (32): * Single equations (assignments): 32 * 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 0.0001696/0.4453, allocations: 227.1 kB / 0.8162 GB, free: 4.754 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.125e-05/0.4454, allocations: 84.03 kB / 0.8162 GB, free: 4.707 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003538/0.4457, allocations: 318.5 kB / 0.8165 GB, free: 4.52 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4457, allocations: 2.531 kB / 0.8165 GB, free: 4.52 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.309e-06/0.4457, allocations: 6.594 kB / 0.8165 GB, free: 4.516 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4457, allocations: 3.938 kB / 0.8166 GB, free: 4.512 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.4469, allocations: 1.285 MB / 0.8178 GB, free: 3.523 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.4469, allocations: 2.844 kB / 0.8178 GB, free: 3.523 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.447, allocations: 45.88 kB / 0.8179 GB, free: 3.512 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.447, allocations: 6.469 kB / 0.8179 GB, free: 3.512 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.447, allocations: 17.27 kB / 0.8179 GB, free: 3.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.447, allocations: 7.875 kB / 0.8179 GB, free: 3.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.4471, allocations: 9.5 kB / 0.8179 GB, free: 3.496 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.4474, allocations: 0.5103 MB / 0.8184 GB, free: 3.078 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.4476, allocations: 116.8 kB / 0.8185 GB, free: 3 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.4476, allocations: 5.531 kB / 0.8185 GB, free: 3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.4478, allocations: 20.42 kB / 0.8185 GB, free: 2.988 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.4478, allocations: 33.28 kB / 0.8186 GB, free: 2.969 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.4478, allocations: 7.969 kB / 0.8186 GB, free: 2.969 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004634/0.4483, allocations: 0.6155 MB / 0.8192 GB, free: 2.629 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7e-08/0.4483, allocations: 0 / 0.8192 GB, free: 2.629 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003441/0.4486, allocations: 163.3 kB / 0.8193 GB, free: 2.602 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (21): * Single equations (assignments): 21 * 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.0006986/0.4493, allocations: 1.124 MB / 0.8204 GB, free: 1.613 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003297/0.4497, allocations: 256.5 kB / 0.8207 GB, free: 1.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.4497, allocations: 0.6875 kB / 0.8207 GB, free: 1.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.4498, allocations: 130.2 kB / 0.8208 GB, free: 1.438 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009878/0.4508, allocations: 431 kB / 0.8212 GB, free: 1.25 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00502/0.4558, allocations: 6.008 MB / 0.8271 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.4561, allocations: 402 kB / 0.8275 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003184/0.4564, allocations: 167.2 kB / 0.8276 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.4566, allocations: 276.4 kB / 0.8279 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of SimCode: time 6.41e-07/0.4566, allocations: 4 kB / 0.8279 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03705/0.4937, allocations: 23.04 MB / 0.8504 GB, free: 5.328 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.37/7.864, allocations: 3.391 kB / 0.8504 GB, free: 5.328 MB / 0.698 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_T.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.545476950705051] Failed to read output from testmodel.py, exit status != 0: 7.953748095780611 7.961884168 7.525999256 Calling exit ...