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: "" <> buildModelFMU(ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_TestMedium_TestBasePropertiesImplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_TestMedium_TestBasePropertiesImplicit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009836/0.0009839, 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.0009902/0.0009902, allocations: 191.3 kB / 16.25 MB, free: 6.629 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.218/1.218, allocations: 222.9 MB / 239.9 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1084/0.1084, allocations: 2.776 MB / 292.8 MB, free: 3.852 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 67.89 kB / 354 MB, free: 4.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07546/0.07659, allocations: 50.24 MB / 404.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit): time 0.1936/0.2702, allocations: 96.32 MB / 0.4888 GB, free: 4.141 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.04264/0.3128, allocations: 58.86 MB / 0.5463 GB, free: 6.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.314, allocations: 11.94 kB / 0.5463 GB, free: 6.008 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002915/0.3169, allocations: 1.279 MB / 0.5476 GB, free: 4.723 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0172/0.3341, allocations: 6.752 MB / 0.5542 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007182/0.3414, allocations: 2.693 MB / 0.5568 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002115/0.3435, allocations: 1.736 MB / 0.5585 GB, free: 9.484 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000247/0.3437, allocations: 130.8 kB / 0.5586 GB, free: 9.352 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00546/0.3492, allocations: 0.7537 MB / 0.5593 GB, free: 8.629 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008978/0.3501, allocations: 0.587 MB / 0.5599 GB, free: 8.039 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.3503, allocations: 79.98 kB / 0.56 GB, free: 7.961 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01373/0.364, allocations: 3.802 MB / 0.5637 GB, free: 4.188 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.3642, allocations: 214.8 kB / 0.5639 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008336/0.3651, allocations: 0.7037 MB / 0.5646 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01023/0.3753, allocations: 3.799 MB / 0.5683 GB, free: 15.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3753, allocations: 4 kB / 0.5683 GB, free: 15.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3753, allocations: 0 / 0.5683 GB, free: 15.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.3753, allocations: 0 / 0.5683 GB, free: 15.46 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.002263/0.3776, allocations: 2.014 MB / 0.5703 GB, free: 13.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.3777, allocations: 8.031 kB / 0.5703 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002064/0.3779, allocations: 221.2 kB / 0.5705 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004437/0.3823, allocations: 1.412 MB / 0.5719 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005059/0.3828, allocations: 494.6 kB / 0.5723 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-05/0.3829, allocations: 86.44 kB / 0.5724 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.383, allocations: 104.6 kB / 0.5725 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/0.3854, allocations: 1.909 MB / 0.5744 GB, free: 9.066 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.3854, allocations: 4 kB / 0.5744 GB, free: 9.062 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.893e-05/0.3855, allocations: 47.98 kB / 0.5744 GB, free: 9.016 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.215e-05/0.3856, allocations: 87.94 kB / 0.5745 GB, free: 8.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/0.3878, allocations: 1.843 MB / 0.5763 GB, free: 7.082 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1303/0.5182, allocations: 9.18 MB / 0.5853 GB, free: 137.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.5194, allocations: 0.8007 MB / 0.5861 GB, free: 137.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006413/0.52, allocations: 0.6877 MB / 0.5867 GB, free: 137.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00171/0.5218, allocations: 2.907 MB / 0.5896 GB, free: 134.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.5218, allocations: 47.34 kB / 0.5896 GB, free: 134.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=194): time 2.134e-06/0.5218, allocations: 3.844 kB / 0.5896 GB, free: 134.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=194): time 0.00214/0.5239, allocations: 1.379 MB / 0.591 GB, free: 134.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.524, allocations: 80.27 kB / 0.5911 GB, free: 134.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.5241, allocations: 212.3 kB / 0.5913 GB, free: 133.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.5241, allocations: 33.45 kB / 0.5913 GB, free: 133.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.5243, allocations: 441.7 kB / 0.5917 GB, free: 133.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/0.5245, allocations: 0.6006 MB / 0.5923 GB, free: 133.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.5247, allocations: 181.5 kB / 0.5925 GB, free: 133 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 2.989e-05/0.5247, allocations: 311.3 kB / 0.5928 GB, free: 132.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/0.5251, allocations: 304 kB / 0.5931 GB, free: 132.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/0.5256, allocations: 0.5551 MB / 0.5936 GB, free: 132.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.5266, allocations: 1.023 MB / 0.5946 GB, free: 131.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.5267, allocations: 3.062 kB / 0.5946 GB, free: 131.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.001227/0.5279, allocations: 1.01 MB / 0.5956 GB, free: 131 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.5279, allocations: 11 kB / 0.5956 GB, free: 131 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.5279, allocations: 6.469 kB / 0.5956 GB, free: 131 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.5279, allocations: 12.69 kB / 0.5956 GB, free: 131 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/0.5283, allocations: 109.4 kB / 0.5957 GB, free: 131 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003148/0.5286, allocations: 1.181 MB / 0.5969 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004887/0.5291, allocations: 154.6 kB / 0.597 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.561e-05/0.5291, allocations: 34.25 kB / 0.5971 GB, free: 129.7 MB / 446.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.0002893/0.5294, allocations: 298.8 kB / 0.5973 GB, free: 129.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.873e-05/0.5295, allocations: 57.72 kB / 0.5974 GB, free: 129.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.5319, allocations: 2.95 MB / 0.6003 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002044/0.534, allocations: 2.445 MB / 0.6027 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.534, allocations: 0 / 0.6027 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.534, allocations: 12.84 kB / 0.6027 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004826/0.5388, allocations: 5.666 MB / 0.6082 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.5389, allocations: 3.938 kB / 0.6082 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007001/0.5396, allocations: 298.9 kB / 0.6085 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000215/0.5398, allocations: 281.2 kB / 0.6088 GB, free: 124 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.53e-05/0.5398, allocations: 37.31 kB / 0.6088 GB, free: 124 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004026/0.5402, allocations: 1.27 MB / 0.61 GB, free: 122.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5403, allocations: 3.984 kB / 0.61 GB, free: 122.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.5424, allocations: 2.425 MB / 0.6124 GB, free: 121.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.5425, allocations: 232 kB / 0.6126 GB, free: 121.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.527e-05/0.5426, allocations: 33.78 kB / 0.6127 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006943/0.5433, allocations: 199.5 kB / 0.6129 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.5434, allocations: 122.5 kB / 0.613 GB, free: 121.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.247e-05/0.5435, allocations: 50.39 kB / 0.613 GB, free: 121.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.557e-05/0.5435, allocations: 127.8 kB / 0.6131 GB, free: 121.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5435, allocations: 2.906 kB / 0.6131 GB, free: 121.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009098/0.5445, allocations: 0.4977 MB / 0.6136 GB, free: 121.1 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.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium2.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium2.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium2.completeBubbleDewStates.dewStateOnePhase.state.phase,medium2.completeState.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 (204): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002607/0.5471, allocations: 3.156 MB / 0.6167 GB, free: 119.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004347/0.5514, allocations: 2.43 MB / 0.6191 GB, free: 117.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5514, allocations: 2.562 kB / 0.6191 GB, free: 117.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009769/0.5524, allocations: 1.076 MB / 0.6201 GB, free: 117.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003526/0.556, allocations: 0.98 MB / 0.6211 GB, free: 117.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007473/0.5634, allocations: 8.306 MB / 0.6292 GB, free: 111.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007695/0.5642, allocations: 1.405 MB / 0.6306 GB, free: 111.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008155/0.565, allocations: 238.3 kB / 0.6308 GB, free: 111.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005544/0.5656, allocations: 0.7225 MB / 0.6315 GB, free: 110.6 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.5656, allocations: 1.469 kB / 0.6315 GB, free: 110.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.292/2.857, allocations: 52.94 MB / 0.6832 GB, free: 72.3 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000154/2.858, allocations: 282.4 kB / 0.6835 GB, free: 71.92 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.607/6.465, allocations: 3.938 kB / 0.6835 GB, free: 71.91 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_TestMedium_TestBasePropertiesImplicit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_TestMedium_TestBasePropertiesImplicit.fmu > ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.pipe 2>&1)