Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 104.4 kB / 16.41 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 192.7 kB / 17.35 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01128/0.01128, allocations: 2.785 MB / 294 MB, free: 11.94 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 60.12 kB / 406.6 MB, free: 29.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07518/0.07639, allocations: 50.23 MB / 456.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic): time 0.008075/0.0845, allocations: 8.362 MB / 465.2 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007381/0.0919, allocations: 9.463 MB / 474.6 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.09204, allocations: 0 / 474.6 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005177/0.09261, allocations: 159 kB / 474.8 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.0929, allocations: 99.28 kB / 474.9 MB, free: 8.633 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.Medium.setSat_p'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1132:25-1146:21:writable] Warning: Pure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.Medium.setBubbleState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.Medium.setState_ph'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1148:25-1162:18:writable] Warning: Pure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.Medium.setDewState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.Medium.setState_ph'. Notification: Performance of NFTyping.typeClassSections: time 0.00311/0.09602, allocations: 1.46 MB / 476.3 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003084/0.09634, allocations: 266.7 kB / 476.6 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.884e-05/0.0964, allocations: 13.67 kB / 476.6 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004071/0.1005, allocations: 129.6 kB / 476.7 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.1006, allocations: 83.62 kB / 476.8 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.1007, allocations: 8 kB / 476.8 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.1022, allocations: 479.8 kB / 477.3 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.042e-05/0.1023, allocations: 39.83 kB / 477.3 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.1024, allocations: 83.61 kB / 477.4 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009966/0.1034, allocations: 0.4907 MB / 477.9 MB, free: 5.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1034, allocations: 4 kB / 477.9 MB, free: 5.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1034, allocations: 0 / 477.9 MB, free: 5.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1034, allocations: 0 / 477.9 MB, free: 5.598 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007782/0.1042, allocations: 0.5565 MB / 478.5 MB, free: 4.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1042, allocations: 8.031 kB / 478.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003342/0.1046, allocations: 60.75 kB / 478.5 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.1048, allocations: 200.2 kB / 478.7 MB, free: 4.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.1048, allocations: 8.375 kB / 478.7 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.1048, allocations: 12.38 kB / 478.8 MB, free: 4.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000498/0.1053, allocations: 247.2 kB / 479 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1054, allocations: 3.938 kB / 479 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.1054, allocations: 4 kB / 479 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.1054, allocations: 11.98 kB / 479 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004863/0.1059, allocations: 204.2 kB / 479.2 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007703/0.1067, allocations: 0.6825 MB / 479.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005859/0.1073, allocations: 238.5 kB / 480.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.1075, allocations: 153.1 kB / 480.3 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002434/0.1078, allocations: 335.2 kB / 480.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.1078, allocations: 34.56 kB / 480.6 MB, free: 2.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.593e-06/0.1078, allocations: 0 / 480.6 MB, free: 2.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.002724/0.1105, allocations: 1.237 MB / 481.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.1106, allocations: 55.41 kB / 481.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.797e-05/0.1107, allocations: 125.8 kB / 482.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.1107, allocations: 29.7 kB / 482.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.1108, allocations: 108.9 kB / 482.2 MB, free: 1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.841e-05/0.1109, allocations: 158.6 kB / 482.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-05/0.111, allocations: 65.64 kB / 482.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.751e-05/0.1111, allocations: 326.8 kB / 482.7 MB, free: 456 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.1113, allocations: 128.5 kB / 482.9 MB, free: 328 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.1116, allocations: 192.4 kB / 483 MB, free: 120 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000528/0.1121, allocations: 340 kB / 483.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1121, allocations: 7.938 kB / 483.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001105/0.1132, allocations: 485.5 kB / 483.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1133, allocations: 7.984 kB / 483.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1133, allocations: 4 kB / 483.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007659/0.1141, allocations: 152.9 kB / 484 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.1142, allocations: 31.98 kB / 484.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006179/0.1148, allocations: 0.6693 MB / 484.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.115, allocations: 16.03 kB / 484.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.115, allocations: 8 kB / 484.7 MB, free: 14.36 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (medium.phaseOutput,medium.state.phase,medium.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.1151, allocations: 142.5 kB / 484.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.1152, allocations: 23.84 kB / 484.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.522e-05/0.1153, allocations: 22.27 kB / 484.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1153, allocations: 3.938 kB / 484.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1153, allocations: 0 / 484.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.1153, allocations: 96.97 kB / 485 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.1154, allocations: 4 kB / 485 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.1155, allocations: 11.98 kB / 485 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.1156, allocations: 23.97 kB / 485.1 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001048/0.1167, allocations: 486.4 kB / 485.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008878/0.1176, allocations: 0.6563 MB / 486.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002667/0.1179, allocations: 160.4 kB / 486.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.875e-05/0.1179, allocations: 99.75 kB / 486.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of Backend: time 5.01e-07/0.1179, allocations: 3.938 kB / 486.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001434/0.1194, allocations: 0.6134 MB / 487.1 MB, free: 12 MB / 366.1 MB Notification: Performance of SimCode: time 0.001029/0.1204, allocations: 1.003 MB / 488.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of Templates: time 0.01235/0.1328, allocations: 7.217 MB / 495.3 MB, free: 3.734 MB / 366.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.makefile (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.sim & ./ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.pipe 2>&1)