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.001546/0.001546, allocations: 113.7 kB / 16.42 MB, free: 6.465 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.001657/0.001657, allocations: 190.7 kB / 17.35 MB, free: 5.699 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.367/1.367, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01142/0.01142, allocations: 2.782 MB / 294 MB, free: 11.97 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 59.91 kB / 406.6 MB, free: 29.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07036/0.07157, allocations: 50.23 MB / 456.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic): time 0.009125/0.08073, allocations: 8.346 MB / 465.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007452/0.0882, allocations: 9.47 MB / 474.6 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.146e-05/0.08829, allocations: 0 / 474.6 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004204/0.08872, allocations: 155 kB / 474.8 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.08902, allocations: 103.3 kB / 474.9 MB, free: 8.66 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.002467/0.09149, allocations: 1.456 MB / 476.3 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002951/0.0918, allocations: 262.8 kB / 476.6 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.09185, allocations: 13.69 kB / 476.6 MB, free: 6.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004136/0.096, allocations: 138 kB / 476.7 MB, free: 6.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.09616, allocations: 83.62 kB / 476.8 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.0962, allocations: 8 kB / 476.8 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.09749, allocations: 471.9 kB / 477.3 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.557e-05/0.09757, allocations: 35.83 kB / 477.3 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.09768, allocations: 87.59 kB / 477.4 MB, free: 6.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009768/0.09866, allocations: 0.4908 MB / 477.9 MB, free: 5.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.09867, allocations: 0 / 477.9 MB, free: 5.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09868, allocations: 0 / 477.9 MB, free: 5.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.09869, allocations: 4 kB / 477.9 MB, free: 5.629 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.0007909/0.09949, allocations: 0.5526 MB / 478.5 MB, free: 5.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.09953, allocations: 12.03 kB / 478.5 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003408/0.09988, allocations: 56.73 kB / 478.5 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.1001, allocations: 204.1 kB / 478.7 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.1001, allocations: 16.31 kB / 478.7 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.1002, allocations: 12.38 kB / 478.8 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005229/0.1007, allocations: 243.3 kB / 479 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1007, allocations: 4 kB / 479 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.1007, allocations: 7.938 kB / 479 MB, free: 4.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.1008, allocations: 11.98 kB / 479 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005199/0.1013, allocations: 212.2 kB / 479.2 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007826/0.1021, allocations: 0.6747 MB / 479.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006185/0.1027, allocations: 242.6 kB / 480.1 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002619/0.103, allocations: 149.1 kB / 480.3 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002615/0.1033, allocations: 331.2 kB / 480.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.1033, allocations: 34.56 kB / 480.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.683e-06/0.1033, allocations: 0 / 480.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.002829/0.1061, allocations: 1.243 MB / 481.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.1062, allocations: 51.41 kB / 481.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.294e-05/0.1063, allocations: 125.8 kB / 482.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.1063, allocations: 29.7 kB / 482.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.465e-05/0.1064, allocations: 104.9 kB / 482.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.1065, allocations: 166.6 kB / 482.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.637e-05/0.1066, allocations: 65.64 kB / 482.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1067, allocations: 330.8 kB / 482.7 MB, free: 476 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.1069, allocations: 124.5 kB / 482.9 MB, free: 352 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.1072, allocations: 188.4 kB / 483 MB, free: 148 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005612/0.1078, allocations: 339.9 kB / 483.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1078, allocations: 4 kB / 483.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001167/0.109, allocations: 493.5 kB / 483.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.109, allocations: 4 kB / 483.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.109, allocations: 3.984 kB / 483.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007935/0.1098, allocations: 156.9 kB / 484 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.11, allocations: 35.92 kB / 484.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006348/0.1106, allocations: 0.6694 MB / 484.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.1108, allocations: 12.03 kB / 484.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.1108, allocations: 8 kB / 484.7 MB, free: 14.39 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.000112/0.1109, allocations: 134.4 kB / 484.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.344e-05/0.111, allocations: 23.84 kB / 484.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.931e-05/0.1111, allocations: 26.28 kB / 484.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1111, allocations: 3.938 kB / 484.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1111, allocations: 4 kB / 484.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.687e-05/0.1111, allocations: 92.97 kB / 485 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.1112, allocations: 11.94 kB / 485 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.1113, allocations: 7.984 kB / 485 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.1114, allocations: 19.97 kB / 485.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001101/0.1125, allocations: 490.5 kB / 485.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009384/0.1135, allocations: 0.6581 MB / 486.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002729/0.1138, allocations: 156.5 kB / 486.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.871e-05/0.1138, allocations: 91.27 kB / 486.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of Backend: time 3.21e-07/0.1138, allocations: 0 / 486.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001434/0.1153, allocations: 0.6233 MB / 487.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of SimCode: time 0.001005/0.1163, allocations: 1.006 MB / 488.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of Templates: time 0.01176/0.128, allocations: 7.225 MB / 495.3 MB, free: 3.75 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)