Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.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.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 110.4 kB / 16.42 MB, free: 6.512 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.001301/0.001301, allocations: 185.5 kB / 17.35 MB, free: 5.738 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 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01165/0.01165, allocations: 2.769 MB / 294 MB, free: 11.97 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 59.91 kB / 406.6 MB, free: 29.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06907/0.07041, allocations: 50.24 MB / 456.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit): time 0.2492/0.3196, allocations: 97.15 MB / 0.541 GB, free: 2.602 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04503/0.3647, allocations: 59.33 MB / 0.5989 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009879/0.3657, allocations: 4 kB / 0.5989 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00311/0.3689, allocations: 1.375 MB / 0.6003 GB, free: 15.22 MB / 446.1 MB [/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.TestBasePropertiesImplicit.medium1.completeBubbleDewStates.Medium.setDewState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.medium1.completeBubbleDewStates.Medium.setState_ph'. [/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.TestBasePropertiesImplicit.medium1.completeBubbleDewStates.Medium.setBubbleState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.medium1.completeBubbleDewStates.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.TestBasePropertiesImplicit.medium2.completeBubbleDewStates.Medium.setDewState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.medium2.completeBubbleDewStates.Medium.setState_ph'. [/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.TestBasePropertiesImplicit.medium2.completeBubbleDewStates.Medium.setBubbleState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.medium2.completeBubbleDewStates.Medium.setState_ph'. Notification: Performance of NFTyping.typeBindings: time 0.01724/0.3861, allocations: 7.347 MB / 0.6074 GB, free: 7.82 MB / 446.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.TestBasePropertiesImplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.medium1.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.TestBasePropertiesImplicit.medium1.Medium.setBubbleState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.medium1.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.TestBasePropertiesImplicit.medium1.Medium.setDewState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.medium1.Medium.setState_ph'. [/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.TestBasePropertiesImplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.medium2.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.TestBasePropertiesImplicit.medium2.Medium.setBubbleState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.medium2.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.TestBasePropertiesImplicit.medium2.Medium.setDewState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.medium2.Medium.setState_ph'. Notification: Performance of NFTyping.typeClassSections: time 0.007148/0.3933, allocations: 2.917 MB / 0.6103 GB, free: 4.891 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002038/0.3953, allocations: 1.747 MB / 0.612 GB, free: 3.133 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002409/0.3956, allocations: 144.5 kB / 0.6121 GB, free: 2.988 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005809/0.4014, allocations: 0.7695 MB / 0.6129 GB, free: 2.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008597/0.4023, allocations: 0.5948 MB / 0.6135 GB, free: 1.652 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.4024, allocations: 76 kB / 0.6135 GB, free: 1.578 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01538/0.4178, allocations: 3.832 MB / 0.6173 GB, free: 13.77 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002706/0.4181, allocations: 206.9 kB / 0.6175 GB, free: 13.56 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001/0.4191, allocations: 0.7153 MB / 0.6182 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01163/0.4307, allocations: 3.861 MB / 0.6219 GB, free: 8.969 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.4307, allocations: 4 kB / 0.6219 GB, free: 8.965 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4307, allocations: 0 / 0.6219 GB, free: 8.965 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.487e-05/0.4308, allocations: 0 / 0.6219 GB, free: 8.965 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 438 * Number of variables: 438 Notification: Performance of Generate backend data structure: time 0.002936/0.4337, allocations: 2.008 MB / 0.6239 GB, free: 6.902 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.4338, allocations: 11.97 kB / 0.6239 GB, free: 6.891 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005209/0.439, allocations: 1.404 MB / 0.6253 GB, free: 5.484 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006934/0.4397, allocations: 0.4946 MB / 0.6258 GB, free: 4.949 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.604e-05/0.4398, allocations: 82.52 kB / 0.6258 GB, free: 4.867 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.4399, allocations: 100.4 kB / 0.6259 GB, free: 4.77 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002882/0.4428, allocations: 1.917 MB / 0.6278 GB, free: 2.789 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.4428, allocations: 3.938 kB / 0.6278 GB, free: 2.785 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.818e-05/0.4429, allocations: 44 kB / 0.6279 GB, free: 2.742 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.941e-05/0.443, allocations: 91.94 kB / 0.6279 GB, free: 2.652 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002665/0.4457, allocations: 1.831 MB / 0.6297 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007337/0.453, allocations: 9.166 MB / 0.6387 GB, free: 6.609 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.4545, allocations: 0.8037 MB / 0.6395 GB, free: 5.789 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009569/0.4555, allocations: 0.6773 MB / 0.6401 GB, free: 5.105 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002653/0.4582, allocations: 2.907 MB / 0.643 GB, free: 1.871 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.4582, allocations: 38.56 kB / 0.643 GB, free: 1.824 MB / 478.1 MB Notification: Performance of pre-optimization done (n=194): time 2.404e-06/0.4582, allocations: 0 / 0.643 GB, free: 1.824 MB / 478.1 MB Notification: Performance of matching and sorting (n=194): time 0.0029/0.4611, allocations: 1.383 MB / 0.6444 GB, free: 456 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.4612, allocations: 89.03 kB / 0.6444 GB, free: 348 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.4614, allocations: 199.7 kB / 0.6446 GB, free: 136 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.4614, allocations: 29.7 kB / 0.6447 GB, free: 100 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002601/0.4617, allocations: 456.1 kB / 0.6451 GB, free: 15.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004188/0.4621, allocations: 0.604 MB / 0.6457 GB, free: 15.03 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002445/0.4624, allocations: 170.1 kB / 0.6459 GB, free: 14.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.296e-05/0.4625, allocations: 314 kB / 0.6461 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005669/0.463, allocations: 302.5 kB / 0.6464 GB, free: 14.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007514/0.4638, allocations: 0.5584 MB / 0.647 GB, free: 13.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.4653, allocations: 1.016 MB / 0.648 GB, free: 12.49 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4653, allocations: 0 / 0.648 GB, free: 12.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.001748/0.4671, allocations: 1.012 MB / 0.649 GB, free: 11.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.4671, allocations: 11.94 kB / 0.649 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.4671, allocations: 12.09 kB / 0.649 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.4671, allocations: 11.98 kB / 0.649 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004048/0.4675, allocations: 95.89 kB / 0.6491 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006168/0.4682, allocations: 1.199 MB / 0.6503 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004106/0.4686, allocations: 110.5 kB / 0.6504 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.558e-05/0.4687, allocations: 32 kB / 0.6504 GB, free: 9.953 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 14 (medium2.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium2.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium2.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium2.completeBubbleDewStates.dewStateOnePhase.state.phase,medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium1.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium1.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium1.completeBubbleDewStates.dewStateOnePhase.state.phase,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004154/0.4691, allocations: 302.2 kB / 0.6507 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.4692, allocations: 63.14 kB / 0.6507 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001377/0.4694, allocations: 48.95 kB / 0.6508 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4694, allocations: 4.094 kB / 0.6508 GB, free: 9.531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4694, allocations: 4 kB / 0.6508 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.4695, allocations: 163.7 kB / 0.651 GB, free: 9.348 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.813e-05/0.4696, allocations: 15.88 kB / 0.651 GB, free: 9.332 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003348/0.4699, allocations: 15.98 kB / 0.651 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.475e-05/0.47, allocations: 31.95 kB / 0.651 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001709/0.4717, allocations: 1.046 MB / 0.652 GB, free: 8.227 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002287/0.474, allocations: 1.544 MB / 0.6535 GB, free: 6.668 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006587/0.4747, allocations: 437.9 kB / 0.654 GB, free: 6.238 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.4748, allocations: 132.1 kB / 0.6541 GB, free: 6.109 MB / 494.1 MB Notification: Performance of Backend: time 4.91e-07/0.4748, allocations: 0 / 0.6541 GB, free: 6.109 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0051/0.4799, allocations: 3.529 MB / 0.6575 GB, free: 2.492 MB / 494.1 MB Notification: Performance of SimCode: time 0.004124/0.4841, allocations: 4.336 MB / 0.6618 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of Templates: time 0.2316/0.7157, allocations: 51.4 MB / 0.712 GB, free: 206.8 MB / 0.5294 GB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.makefile (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.sim & ./ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.pipe 2>&1)