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.001474/0.001474, allocations: 114.7 kB / 16.42 MB, free: 6.508 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.001642/0.001642, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.36/1.36, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01235/0.01235, allocations: 2.781 MB / 294 MB, free: 11.99 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.89 kB / 406.6 MB, free: 29.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06954/0.07076, allocations: 50.23 MB / 456.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit): time 0.252/0.3228, allocations: 97.15 MB / 0.541 GB, free: 2.629 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04589/0.3687, allocations: 59.33 MB / 0.5989 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.3699, allocations: 4 kB / 0.5989 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003302/0.3733, allocations: 1.379 MB / 0.6003 GB, free: 15.23 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.01716/0.3905, allocations: 7.351 MB / 0.6074 GB, free: 7.824 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.008146/0.3987, allocations: 2.917 MB / 0.6103 GB, free: 4.895 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002563/0.4012, allocations: 1.747 MB / 0.612 GB, free: 3.141 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002938/0.4015, allocations: 130.3 kB / 0.6121 GB, free: 3.008 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006005/0.4075, allocations: 0.762 MB / 0.6129 GB, free: 2.277 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009674/0.4085, allocations: 0.6065 MB / 0.6135 GB, free: 1.668 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001525/0.4087, allocations: 72 kB / 0.6135 GB, free: 1.598 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01507/0.4238, allocations: 3.838 MB / 0.6173 GB, free: 13.79 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.424, allocations: 206.9 kB / 0.6175 GB, free: 13.58 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009688/0.425, allocations: 0.7231 MB / 0.6182 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01131/0.4363, allocations: 3.867 MB / 0.622 GB, free: 8.973 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4363, allocations: 0 / 0.622 GB, free: 8.973 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4363, allocations: 0 / 0.622 GB, free: 8.973 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.187e-05/0.4364, allocations: 4 kB / 0.622 GB, free: 8.969 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.002928/0.4393, allocations: 2.057 MB / 0.624 GB, free: 6.852 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.4393, allocations: 8.031 kB / 0.624 GB, free: 6.844 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004984/0.4443, allocations: 1.409 MB / 0.6254 GB, free: 5.434 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007009/0.445, allocations: 0.4985 MB / 0.6258 GB, free: 4.895 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.202e-05/0.4451, allocations: 82.52 kB / 0.6259 GB, free: 4.812 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.4453, allocations: 100.4 kB / 0.626 GB, free: 4.715 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00274/0.448, allocations: 1.909 MB / 0.6279 GB, free: 2.742 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.448, allocations: 4 kB / 0.6279 GB, free: 2.738 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.331e-05/0.4481, allocations: 40 kB / 0.6279 GB, free: 2.699 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.701e-05/0.4482, allocations: 95.86 kB / 0.628 GB, free: 2.605 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002655/0.4509, allocations: 1.843 MB / 0.6298 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007598/0.4585, allocations: 9.188 MB / 0.6388 GB, free: 6.531 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.46, allocations: 0.8036 MB / 0.6396 GB, free: 5.711 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009193/0.4609, allocations: 0.6852 MB / 0.6402 GB, free: 5.02 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002561/0.4635, allocations: 2.915 MB / 0.6431 GB, free: 1.777 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.4635, allocations: 38.56 kB / 0.6431 GB, free: 1.73 MB / 478.1 MB Notification: Performance of pre-optimization done (n=194): time 1.844e-06/0.4635, allocations: 0 / 0.6431 GB, free: 1.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=194): time 0.002778/0.4663, allocations: 1.383 MB / 0.6445 GB, free: 360 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.4663, allocations: 81.05 kB / 0.6445 GB, free: 260 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.4666, allocations: 207.8 kB / 0.6447 GB, free: 40 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.61e-05/0.4666, allocations: 33.7 kB / 0.6448 GB, free: 0 / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.4669, allocations: 461.8 kB / 0.6452 GB, free: 15.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004131/0.4673, allocations: 0.6309 MB / 0.6458 GB, free: 14.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/0.4675, allocations: 174.1 kB / 0.646 GB, free: 14.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.302e-05/0.4676, allocations: 310 kB / 0.6463 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005675/0.4682, allocations: 306.5 kB / 0.6466 GB, free: 14.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007402/0.469, allocations: 0.5545 MB / 0.6471 GB, free: 13.47 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.4704, allocations: 1.016 MB / 0.6481 GB, free: 12.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.361e-06/0.4704, allocations: 4 kB / 0.6481 GB, free: 12.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.001704/0.4722, allocations: 1.012 MB / 0.6491 GB, free: 11.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.4722, allocations: 8 kB / 0.6491 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.4722, allocations: 4 kB / 0.6491 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.4722, allocations: 12 kB / 0.6491 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/0.4726, allocations: 103.8 kB / 0.6492 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006032/0.4733, allocations: 1.192 MB / 0.6504 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004002/0.4737, allocations: 122.8 kB / 0.6505 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.633e-05/0.4737, allocations: 35.98 kB / 0.6506 GB, free: 9.816 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.000401/0.4741, allocations: 302.4 kB / 0.6508 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.4743, allocations: 55.58 kB / 0.6509 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.4744, allocations: 52.95 kB / 0.6509 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4744, allocations: 0 / 0.6509 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4744, allocations: 0 / 0.6509 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.4746, allocations: 168.2 kB / 0.6511 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.326e-05/0.4746, allocations: 7.938 kB / 0.6511 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.4749, allocations: 11.98 kB / 0.6511 GB, free: 9.199 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.358e-05/0.475, allocations: 39.95 kB / 0.6512 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00171/0.4768, allocations: 1.042 MB / 0.6522 GB, free: 8.105 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002262/0.479, allocations: 1.556 MB / 0.6537 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006696/0.4797, allocations: 449.9 kB / 0.6541 GB, free: 6.094 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.752e-05/0.4798, allocations: 128.1 kB / 0.6543 GB, free: 5.969 MB / 494.1 MB Notification: Performance of Backend: time 3.5e-07/0.4798, allocations: 0 / 0.6543 GB, free: 5.969 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00518/0.485, allocations: 3.548 MB / 0.6577 GB, free: 2.328 MB / 494.1 MB Notification: Performance of SimCode: time 0.004246/0.4893, allocations: 4.391 MB / 0.662 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of Templates: time 0.2278/0.7171, allocations: 51.41 MB / 0.7122 GB, free: 206.4 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)