Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.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.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001165/0.001165, allocations: 191.1 kB / 16.25 MB, free: 6.633 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 / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1603/0.1603, allocations: 2.763 MB / 292.8 MB, free: 3.773 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 59.91 kB / 353.9 MB, free: 4.965 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0983/0.09969, allocations: 50.23 MB / 404.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit): time 0.2461/0.3458, allocations: 96.32 MB / 0.4887 GB, free: 4.145 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.04825/0.3941, allocations: 58.85 MB / 0.5462 GB, free: 6.074 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.3956, allocations: 8 kB / 0.5462 GB, free: 6.066 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003071/0.3987, allocations: 1.279 MB / 0.5475 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02006/0.4188, allocations: 6.748 MB / 0.5541 GB, free: 14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00868/0.4275, allocations: 2.68 MB / 0.5567 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002354/0.4299, allocations: 1.744 MB / 0.5584 GB, free: 9.551 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.4301, allocations: 140.7 kB / 0.5585 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00566/0.4357, allocations: 0.7461 MB / 0.5592 GB, free: 8.695 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007887/0.4365, allocations: 0.5948 MB / 0.5598 GB, free: 8.098 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.234e-05/0.4366, allocations: 75.98 kB / 0.5599 GB, free: 8.023 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01898/0.4556, allocations: 3.803 MB / 0.5636 GB, free: 4.254 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003345/0.456, allocations: 218.8 kB / 0.5638 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001007/0.457, allocations: 0.6998 MB / 0.5645 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01412/0.4711, allocations: 3.807 MB / 0.5682 GB, free: 15.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.4712, allocations: 0 / 0.5682 GB, free: 15.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4712, allocations: 0 / 0.5682 GB, free: 15.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.4712, allocations: 0 / 0.5682 GB, free: 15.52 MB / 446.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.002883/0.4741, allocations: 2.014 MB / 0.5702 GB, free: 13.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/0.4742, allocations: 12.03 kB / 0.5702 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004999/0.4792, allocations: 1.404 MB / 0.5716 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006518/0.4798, allocations: 498.6 kB / 0.572 GB, free: 11.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.312e-05/0.4799, allocations: 82.52 kB / 0.5721 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.4801, allocations: 104.4 kB / 0.5722 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002732/0.4828, allocations: 1.913 MB / 0.5741 GB, free: 9.352 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.4828, allocations: 0 / 0.5741 GB, free: 9.352 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.839e-05/0.4829, allocations: 44 kB / 0.5741 GB, free: 9.309 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.809e-05/0.483, allocations: 95.92 kB / 0.5742 GB, free: 9.215 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/0.4855, allocations: 1.831 MB / 0.576 GB, free: 7.379 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2061/0.6915, allocations: 9.169 MB / 0.585 GB, free: 137.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.693, allocations: 0.7807 MB / 0.5857 GB, free: 137.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007757/0.6937, allocations: 0.6626 MB / 0.5864 GB, free: 137.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002334/0.6961, allocations: 2.887 MB / 0.5892 GB, free: 135.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.6961, allocations: 34.56 kB / 0.5892 GB, free: 135.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=193): time 2.845e-06/0.6961, allocations: 3.062 kB / 0.5892 GB, free: 135.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=193): time 0.002292/0.6984, allocations: 1.328 MB / 0.5905 GB, free: 134.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.6985, allocations: 80.3 kB / 0.5906 GB, free: 134.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.6987, allocations: 206.3 kB / 0.5908 GB, free: 134.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.6987, allocations: 28.7 kB / 0.5908 GB, free: 134.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.6988, allocations: 455.1 kB / 0.5913 GB, free: 134 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002649/0.6991, allocations: 0.6047 MB / 0.5918 GB, free: 133.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.6993, allocations: 175.2 kB / 0.592 GB, free: 133.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.75e-05/0.6994, allocations: 317.3 kB / 0.5923 GB, free: 133.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004302/0.6998, allocations: 285.8 kB / 0.5926 GB, free: 133 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005243/0.7003, allocations: 0.5433 MB / 0.5931 GB, free: 132.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.7015, allocations: 0.9905 MB / 0.5941 GB, free: 131.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.7015, allocations: 3.219 kB / 0.5941 GB, free: 131.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.001343/0.7028, allocations: 0.9835 MB / 0.595 GB, free: 131.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.7029, allocations: 9.5 kB / 0.5951 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.7029, allocations: 6.594 kB / 0.5951 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.7029, allocations: 13.56 kB / 0.5951 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.7032, allocations: 87.55 kB / 0.5952 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/0.7032, allocations: 14.88 kB / 0.5952 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006815/0.7039, allocations: 153.3 kB / 0.5953 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-05/0.704, allocations: 34.52 kB / 0.5954 GB, free: 131.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 0.0003897/0.7044, allocations: 290.3 kB / 0.5956 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.7045, allocations: 62.81 kB / 0.5957 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002546/0.707, allocations: 2.754 MB / 0.5984 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002122/0.7092, allocations: 2.259 MB / 0.6006 GB, free: 128.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.649e-06/0.7092, allocations: 0 / 0.6006 GB, free: 128.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/0.7092, allocations: 10.83 kB / 0.6006 GB, free: 128.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005632/0.7148, allocations: 5.46 MB / 0.6059 GB, free: 126.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.7149, allocations: 3.156 kB / 0.6059 GB, free: 126.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007618/0.7156, allocations: 300.3 kB / 0.6062 GB, free: 126.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/0.7157, allocations: 6.5 kB / 0.6062 GB, free: 126.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.456e-05/0.7157, allocations: 40.72 kB / 0.6063 GB, free: 126.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.7157, allocations: 8.266 kB / 0.6063 GB, free: 126.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.7158, allocations: 0 / 0.6063 GB, free: 126.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002169/0.7179, allocations: 2.136 MB / 0.6084 GB, free: 125 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003088/0.7182, allocations: 234.9 kB / 0.6086 GB, free: 124.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.553e-05/0.7183, allocations: 35.8 kB / 0.6086 GB, free: 124.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007574/0.7191, allocations: 193.5 kB / 0.6088 GB, free: 124.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.7192, allocations: 109.5 kB / 0.6089 GB, free: 124.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.817e-05/0.7193, allocations: 55.12 kB / 0.609 GB, free: 124.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.729e-05/0.7194, allocations: 135.6 kB / 0.6091 GB, free: 124.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7194, allocations: 3.844 kB / 0.6091 GB, free: 124.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001201/0.7206, allocations: 0.4904 MB / 0.6096 GB, free: 124.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 22 (medium1.completeState.state.phase,medium1.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium1.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium1.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium1.completeBubbleDewStates.dewStateOnePhase.state.phase,$cse7.phase,$cse8.phase,$cse9.phase,$cse10.phase,$cse12.phase,medium1.baseProperties.phaseOutput,medium2.completeState.state.phase,medium2.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium2.completeBubbleDewStates.dewStateOnePhase.state.phase,medium2.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium2.completeBubbleDewStates.bubbleStateOnePhase.state.phase,$cse1.phase,$cse2.phase,$cse3.phase,$cse4.phase,$cse6.phase,medium2.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (205): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0007493/0.7214, allocations: 0.5325 MB / 0.6101 GB, free: 124.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004889/0.7263, allocations: 2.391 MB / 0.6124 GB, free: 122.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.7263, allocations: 0 / 0.6124 GB, free: 122.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.7273, allocations: 1.044 MB / 0.6134 GB, free: 122.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004001/0.7313, allocations: 0.9905 MB / 0.6144 GB, free: 122.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0047/0.7361, allocations: 3.997 MB / 0.6183 GB, free: 119.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009352/0.737, allocations: 1.406 MB / 0.6197 GB, free: 119 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00104/0.7381, allocations: 261.9 kB / 0.6199 GB, free: 119 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.7382, allocations: 109.8 kB / 0.62 GB, free: 118.9 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.7382, allocations: 0 / 0.62 GB, free: 118.9 MB / 446.1 MB Notification: Performance of Templates: time 0.05525/0.7935, allocations: 36.43 MB / 0.6556 GB, free: 101.1 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.makefile (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.sim & ./ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.pipe 2>&1)