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.001017/0.001017, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001021/0.001021, allocations: 191.1 kB / 16.14 MB, free: 6.707 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.238/1.238, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1007/0.1007, allocations: 2.759 MB / 292.7 MB, free: 3.828 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 59.89 kB / 353.8 MB, free: 4.973 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07531/0.07645, allocations: 50.24 MB / 404 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit): time 0.1911/0.2676, allocations: 96.49 MB / 0.4888 GB, free: 4.129 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.04445/0.3121, allocations: 59.07 MB / 0.5465 GB, free: 5.695 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.3131, allocations: 4 kB / 0.5465 GB, free: 5.691 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00293/0.3161, allocations: 1.286 MB / 0.5478 GB, free: 4.398 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01735/0.3334, allocations: 6.737 MB / 0.5543 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007281/0.3408, allocations: 2.689 MB / 0.557 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002129/0.3429, allocations: 1.763 MB / 0.5587 GB, free: 9.148 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.3431, allocations: 133.9 kB / 0.5588 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005371/0.3485, allocations: 0.688 MB / 0.5595 GB, free: 8.359 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006873/0.3492, allocations: 0.5791 MB / 0.56 GB, free: 7.777 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.695e-05/0.3493, allocations: 36 kB / 0.5601 GB, free: 7.742 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01475/0.364, allocations: 3.952 MB / 0.5639 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000266/0.3643, allocations: 166.9 kB / 0.5641 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008923/0.3652, allocations: 0.6685 MB / 0.5648 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01226/0.3775, allocations: 3.78 MB / 0.5684 GB, free: 15.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.3775, allocations: 4 kB / 0.5684 GB, free: 15.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3775, allocations: 0 / 0.5684 GB, free: 15.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.367e-05/0.3775, allocations: 3.938 kB / 0.5685 GB, free: 15.18 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.002743/0.3803, allocations: 2.01 MB / 0.5704 GB, free: 13.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3803, allocations: 8.031 kB / 0.5704 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002265/0.3806, allocations: 217.3 kB / 0.5706 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004786/0.3854, allocations: 1.404 MB / 0.572 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000588/0.386, allocations: 0.4947 MB / 0.5725 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.131e-05/0.386, allocations: 82.52 kB / 0.5726 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.3862, allocations: 108.5 kB / 0.5727 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002658/0.3888, allocations: 1.909 MB / 0.5745 GB, free: 8.789 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.3889, allocations: 4 kB / 0.5745 GB, free: 8.785 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.076e-05/0.389, allocations: 44 kB / 0.5746 GB, free: 8.742 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.691e-05/0.389, allocations: 87.94 kB / 0.5747 GB, free: 8.656 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/0.3915, allocations: 1.843 MB / 0.5765 GB, free: 6.809 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1382/0.5297, allocations: 9.187 MB / 0.5854 GB, free: 137.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.531, allocations: 0.8042 MB / 0.5862 GB, free: 137.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006912/0.5317, allocations: 0.6789 MB / 0.5869 GB, free: 137.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001915/0.5337, allocations: 2.913 MB / 0.5897 GB, free: 134.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.5337, allocations: 43.91 kB / 0.5898 GB, free: 134.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=194): time 2.004e-06/0.5337, allocations: 0 / 0.5898 GB, free: 134.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=194): time 0.002302/0.536, allocations: 1.381 MB / 0.5911 GB, free: 134.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.536, allocations: 88.08 kB / 0.5912 GB, free: 134 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.5362, allocations: 206.8 kB / 0.5914 GB, free: 133.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.5362, allocations: 32.89 kB / 0.5914 GB, free: 133.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.5364, allocations: 447.2 kB / 0.5919 GB, free: 133.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000243/0.5366, allocations: 0.6014 MB / 0.5924 GB, free: 133 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.5368, allocations: 177.6 kB / 0.5926 GB, free: 132.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.561e-05/0.5369, allocations: 313 kB / 0.5929 GB, free: 132.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004529/0.5373, allocations: 307.6 kB / 0.5932 GB, free: 132.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005421/0.5379, allocations: 0.5444 MB / 0.5937 GB, free: 132.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.539, allocations: 1.02 MB / 0.5947 GB, free: 131.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.539, allocations: 7.031 kB / 0.5947 GB, free: 131.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.001353/0.5404, allocations: 1.008 MB / 0.5957 GB, free: 130.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.5404, allocations: 9.719 kB / 0.5957 GB, free: 130.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.5404, allocations: 6.719 kB / 0.5957 GB, free: 130.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.5404, allocations: 9.844 kB / 0.5957 GB, free: 130.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.5408, allocations: 103 kB / 0.5958 GB, free: 130.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000348/0.5411, allocations: 1.193 MB / 0.597 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005771/0.5417, allocations: 155.4 kB / 0.5972 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-05/0.5418, allocations: 29.44 kB / 0.5972 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.0003412/0.5421, allocations: 298 kB / 0.5975 GB, free: 129.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.5423, allocations: 65.5 kB / 0.5975 GB, free: 129.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002615/0.5449, allocations: 2.945 MB / 0.6004 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002273/0.5472, allocations: 2.438 MB / 0.6028 GB, free: 126.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.5472, allocations: 7.188 kB / 0.6028 GB, free: 126.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.5472, allocations: 15.17 kB / 0.6028 GB, free: 126.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00543/0.5526, allocations: 5.662 MB / 0.6083 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.5527, allocations: 9.016 kB / 0.6083 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007587/0.5534, allocations: 298.3 kB / 0.6086 GB, free: 124 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003369/0.5538, allocations: 294 kB / 0.6089 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-05/0.5538, allocations: 30.41 kB / 0.6089 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004642/0.5543, allocations: 1.271 MB / 0.6102 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5543, allocations: 0 / 0.6102 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/0.5567, allocations: 2.428 MB / 0.6126 GB, free: 121.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002369/0.5569, allocations: 234.4 kB / 0.6128 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.221e-05/0.557, allocations: 34.44 kB / 0.6128 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007659/0.5578, allocations: 199.6 kB / 0.613 GB, free: 121.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.5579, allocations: 119.1 kB / 0.6131 GB, free: 121.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.838e-05/0.558, allocations: 48.66 kB / 0.6132 GB, free: 121.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.359e-05/0.5581, allocations: 131.3 kB / 0.6133 GB, free: 121.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5581, allocations: 0 / 0.6133 GB, free: 121.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001111/0.5592, allocations: 0.4957 MB / 0.6138 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.002893/0.5621, allocations: 3.164 MB / 0.6169 GB, free: 119.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.5643, allocations: 2.34 MB / 0.6191 GB, free: 117.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5643, allocations: 0 / 0.6191 GB, free: 117.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.5654, allocations: 1.084 MB / 0.6202 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.003843/0.5693, allocations: 0.935 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.008612/0.5779, allocations: 8.303 MB / 0.6292 GB, free: 112 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008775/0.5788, allocations: 1.407 MB / 0.6306 GB, free: 111.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009252/0.5798, allocations: 238.2 kB / 0.6308 GB, free: 111.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006213/0.5804, allocations: 0.7231 MB / 0.6315 GB, free: 110.6 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5804, allocations: 0 / 0.6315 GB, free: 110.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06373/0.6441, allocations: 51.34 MB / 0.6817 GB, free: 73.97 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001373/0.6443, allocations: 282.3 kB / 0.6819 GB, free: 73.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.286/3.93, allocations: 0 / 0.6819 GB, free: 73.59 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)