Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.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.0009412/0.0009412, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009234/0.0009234, allocations: 173 kB / 23.36 MB, free: 1.133 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.9416/0.9416, allocations: 177.1 MB / 203.8 MB, free: 5.488 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-545:108: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-545:116: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.7418/0.7418, allocations: 154.6 MB / 414.8 MB, free: 0.5156 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: translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h") translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 480 MB, free: 6.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.302e-05/1.411e-05, allocations: 10.03 kB / 480 MB, free: 6.949 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.1277/0.1277, allocations: 147 MB / 0.6123 GB, free: 3.852 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.002588/0.1303, allocations: 1.373 MB / 0.6136 GB, free: 2.477 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003007/0.1306, allocations: 31.75 kB / 0.6137 GB, free: 2.445 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.000408/0.131, allocations: 174.5 kB / 0.6138 GB, free: 2.273 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0005091/0.1315, allocations: 302.2 kB / 0.6141 GB, free: 1.977 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008704/0.1324, allocations: 459 kB / 0.6145 GB, free: 1.527 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001042/0.1334, allocations: 1.137 MB / 0.6157 GB, free: 396 kB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006005/0.134, allocations: 458.5 kB / 0.6161 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.1351, allocations: 0.7165 MB / 0.6168 GB, free: 15.21 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/0.1354, allocations: 299 kB / 0.6171 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.562e-05/0.1355, allocations: 40 kB / 0.6171 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.1356, allocations: 83.94 kB / 0.6172 GB, free: 14.8 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000221/0.1358, allocations: 287.1 kB / 0.6175 GB, free: 14.52 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.136, allocations: 187.5 kB / 0.6176 GB, free: 14.34 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004608/0.1365, allocations: 482.2 kB / 0.6181 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1365, allocations: 0 / 0.6181 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1365, allocations: 0 / 0.6181 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.1365, allocations: 0 / 0.6181 GB, free: 13.86 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.0007365/0.1372, allocations: 0.7295 MB / 0.6188 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.1373, allocations: 12.03 kB / 0.6188 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.1374, allocations: 84.88 kB / 0.6189 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004607/0.1378, allocations: 368.7 kB / 0.6193 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.1379, allocations: 37.31 kB / 0.6193 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.776e-05/0.1379, allocations: 55.98 kB / 0.6194 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007384/0.1387, allocations: 0.5148 MB / 0.6199 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.1387, allocations: 3.938 kB / 0.6199 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.1387, allocations: 28 kB / 0.6199 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.796e-05/0.1388, allocations: 31.98 kB / 0.6199 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/0.139, allocations: 195.8 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.1405, allocations: 2.728 MB / 0.6228 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.1407, allocations: 0.5325 MB / 0.6233 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.232e-05/0.1408, allocations: 103.3 kB / 0.6234 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.1408, allocations: 4 kB / 0.6234 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.1408, allocations: 50.5 kB / 0.6234 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.1408, allocations: 0 / 0.6234 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0003085/0.1411, allocations: 101.4 kB / 0.6235 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.1412, allocations: 295.9 kB / 0.6238 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.1414, allocations: 251 kB / 0.6241 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.1414, allocations: 33.7 kB / 0.6241 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.1415, allocations: 272.8 kB / 0.6243 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.1416, allocations: 43.61 kB / 0.6244 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.1416, allocations: 21.72 kB / 0.6244 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.88e-05/0.1417, allocations: 338.8 kB / 0.6247 GB, free: 6.551 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.992e-05/0.1417, allocations: 10.81 kB / 0.6247 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.986e-05/0.1418, allocations: 189.6 kB / 0.6249 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.255e-05/0.1419, allocations: 83.28 kB / 0.625 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1419, allocations: 3.938 kB / 0.625 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001095/0.142, allocations: 92.84 kB / 0.6251 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.142, allocations: 8 kB / 0.6251 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.142, allocations: 0 / 0.6251 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.142, allocations: 0 / 0.6251 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.1421, allocations: 36.09 kB / 0.6251 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.1421, allocations: 4 kB / 0.6251 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.01e-05/0.1422, allocations: 8 kB / 0.6252 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.1422, allocations: 11.98 kB / 0.6252 GB, free: 6.027 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * 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 9.412e-05/0.1423, allocations: 124.6 kB / 0.6253 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.1425, allocations: 27.92 kB / 0.6253 GB, free: 5.867 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.665e-05/0.1425, allocations: 25.92 kB / 0.6253 GB, free: 5.84 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1425, allocations: 4 kB / 0.6253 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1425, allocations: 7.938 kB / 0.6253 GB, free: 5.828 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1425, allocations: 0 / 0.6253 GB, free: 5.828 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.1438, allocations: 1.142 MB / 0.6265 GB, free: 4.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1438, allocations: 4 kB / 0.6265 GB, free: 4.613 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.914e-05/0.1438, allocations: 31.92 kB / 0.6265 GB, free: 4.582 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1438, allocations: 3.984 kB / 0.6265 GB, free: 4.578 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.1439, allocations: 8 kB / 0.6265 GB, free: 4.57 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1439, allocations: 4 kB / 0.6265 GB, free: 4.566 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.1439, allocations: 8.219 kB / 0.6265 GB, free: 4.559 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.144, allocations: 295.3 kB / 0.6268 GB, free: 4.215 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.1441, allocations: 31.8 kB / 0.6268 GB, free: 4.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.1441, allocations: 11.98 kB / 0.6268 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.042e-05/0.1442, allocations: 4 kB / 0.6268 GB, free: 4.168 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.1442, allocations: 11.92 kB / 0.6269 GB, free: 4.156 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.1442, allocations: 8 kB / 0.6269 GB, free: 4.148 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.626e-05/0.1443, allocations: 92.62 kB / 0.627 GB, free: 4.059 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.1443, allocations: 4 kB / 0.627 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003255/0.1446, allocations: 123.5 kB / 0.6271 GB, free: 3.934 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0001433/0.1447, allocations: 104.2 kB / 0.6272 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.429e-05/0.1448, allocations: 44.72 kB / 0.6272 GB, free: 3.773 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.1448, allocations: 4 kB / 0.6272 GB, free: 3.77 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.307e-05/0.1449, allocations: 41.45 kB / 0.6273 GB, free: 3.727 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.1453, allocations: 101 kB / 0.6274 GB, free: 3.629 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.1463, allocations: 0.8055 MB / 0.6281 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.1464, allocations: 148.2 kB / 0.6283 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.398e-05/0.1465, allocations: 33.86 kB / 0.6283 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.1466, allocations: 115.3 kB / 0.6284 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of SimCode: time 3.61e-07/0.1466, allocations: 0 / 0.6284 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of Templates: time 0.006748/0.1534, allocations: 3.365 MB / 0.6317 GB, free: 15.18 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & ./IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8001628438942134]