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: "" <> buildModelFMU(ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_TestMedium_TestBasePropertiesExplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_TestMedium_TestBasePropertiesExplicit",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.001057/0.001057, 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.00131/0.00131, allocations: 196.7 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.302/1.302, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.129/0.129, allocations: 2.769 MB / 292.7 MB, free: 3.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 59.91 kB / 353.8 MB, free: 4.969 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09064/0.09193, allocations: 50.24 MB / 404.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit): time 0.2321/0.3241, allocations: 96.48 MB / 0.4888 GB, free: 4.191 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.05564/0.3798, allocations: 59.07 MB / 0.5465 GB, free: 5.738 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.3813, allocations: 8 kB / 0.5465 GB, free: 5.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003877/0.3852, allocations: 1.283 MB / 0.5477 GB, free: 4.441 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0212/0.4064, allocations: 6.737 MB / 0.5543 GB, free: 13.67 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009297/0.4158, allocations: 2.692 MB / 0.557 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002706/0.4185, allocations: 1.759 MB / 0.5587 GB, free: 9.195 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003211/0.4188, allocations: 142.8 kB / 0.5588 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005917/0.4248, allocations: 0.682 MB / 0.5595 GB, free: 8.406 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.4259, allocations: 0.5752 MB / 0.56 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001568/0.426, allocations: 36 kB / 0.5601 GB, free: 7.793 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01582/0.4418, allocations: 3.966 MB / 0.5639 GB, free: 3.848 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003208/0.4422, allocations: 162.9 kB / 0.5641 GB, free: 3.688 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001219/0.4434, allocations: 0.6685 MB / 0.5647 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01415/0.4576, allocations: 3.78 MB / 0.5684 GB, free: 15.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4576, allocations: 0 / 0.5684 GB, free: 15.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4576, allocations: 0 / 0.5684 GB, free: 15.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.595e-05/0.4577, allocations: 0 / 0.5684 GB, free: 15.23 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.003471/0.4612, allocations: 2.014 MB / 0.5704 GB, free: 13.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.4612, allocations: 8.031 kB / 0.5704 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002977/0.4615, allocations: 225.2 kB / 0.5706 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005369/0.4669, allocations: 1.404 MB / 0.572 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009911/0.4679, allocations: 0.4908 MB / 0.5725 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.4681, allocations: 86.52 kB / 0.5726 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002707/0.4684, allocations: 100.6 kB / 0.5727 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003434/0.4718, allocations: 1.905 MB / 0.5745 GB, free: 8.836 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.4719, allocations: 3.938 kB / 0.5745 GB, free: 8.832 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.472, allocations: 48 kB / 0.5746 GB, free: 8.785 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.256e-05/0.4721, allocations: 87.94 kB / 0.5747 GB, free: 8.699 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002784/0.4749, allocations: 1.843 MB / 0.5765 GB, free: 6.852 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1451/0.62, allocations: 9.162 MB / 0.5854 GB, free: 137 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.6212, allocations: 0.7863 MB / 0.5862 GB, free: 137 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006675/0.6219, allocations: 0.6617 MB / 0.5868 GB, free: 137 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001897/0.6238, allocations: 2.879 MB / 0.5896 GB, free: 134.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.6238, allocations: 40.62 kB / 0.5897 GB, free: 134.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=193): time 2.445e-06/0.6238, allocations: 0 / 0.5897 GB, free: 134.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=193): time 0.002314/0.6262, allocations: 1.332 MB / 0.591 GB, free: 134 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.6262, allocations: 80.73 kB / 0.591 GB, free: 133.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.6264, allocations: 208.8 kB / 0.5912 GB, free: 133.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.6264, allocations: 29.7 kB / 0.5913 GB, free: 133.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.6266, allocations: 455.5 kB / 0.5917 GB, free: 133.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003062/0.6269, allocations: 0.595 MB / 0.5923 GB, free: 132.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.6271, allocations: 176.4 kB / 0.5925 GB, free: 132.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.403e-05/0.6272, allocations: 310 kB / 0.5927 GB, free: 132.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004307/0.6276, allocations: 284.3 kB / 0.593 GB, free: 132.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005431/0.6282, allocations: 0.5407 MB / 0.5935 GB, free: 132 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.6293, allocations: 1.003 MB / 0.5945 GB, free: 131.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.6293, allocations: 6.969 kB / 0.5945 GB, free: 131.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.001468/0.6308, allocations: 0.9818 MB / 0.5955 GB, free: 130.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.6308, allocations: 9.719 kB / 0.5955 GB, free: 130.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.6308, allocations: 7.25 kB / 0.5955 GB, free: 130.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.6309, allocations: 9.531 kB / 0.5955 GB, free: 130.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.6311, allocations: 92.41 kB / 0.5956 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.6312, allocations: 6.688 kB / 0.5956 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006117/0.6318, allocations: 157.8 kB / 0.5958 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/0.6318, allocations: 33.97 kB / 0.5958 GB, free: 130.8 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.0003915/0.6322, allocations: 302.9 kB / 0.5961 GB, free: 130.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.6324, allocations: 57.28 kB / 0.5961 GB, free: 130.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0026/0.635, allocations: 2.746 MB / 0.5988 GB, free: 129.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002115/0.6371, allocations: 2.253 MB / 0.601 GB, free: 128.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.6371, allocations: 3.375 kB / 0.601 GB, free: 128.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.6371, allocations: 9.828 kB / 0.601 GB, free: 128.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005439/0.6426, allocations: 5.457 MB / 0.6064 GB, free: 125.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.116e-06/0.6426, allocations: 6.422 kB / 0.6064 GB, free: 125.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007603/0.6434, allocations: 296.8 kB / 0.6067 GB, free: 125.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.6434, allocations: 6.156 kB / 0.6067 GB, free: 125.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.845e-05/0.6434, allocations: 33.8 kB / 0.6067 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.358e-06/0.6435, allocations: 13.22 kB / 0.6067 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6435, allocations: 3.984 kB / 0.6067 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002122/0.6456, allocations: 2.141 MB / 0.6088 GB, free: 124.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002435/0.6458, allocations: 238.1 kB / 0.609 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7e-05/0.6459, allocations: 34.02 kB / 0.6091 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000739/0.6467, allocations: 187.5 kB / 0.6092 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.6468, allocations: 109.5 kB / 0.6093 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.673e-05/0.6469, allocations: 51.27 kB / 0.6094 GB, free: 124.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.525e-05/0.647, allocations: 141.7 kB / 0.6095 GB, free: 124 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.647, allocations: 0 / 0.6095 GB, free: 124 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001111/0.6481, allocations: 0.4955 MB / 0.61 GB, free: 123.9 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.002861/0.6509, allocations: 3.121 MB / 0.6131 GB, free: 122.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001941/0.6529, allocations: 2.299 MB / 0.6153 GB, free: 120.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6529, allocations: 0 / 0.6153 GB, free: 120.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009669/0.6539, allocations: 1.05 MB / 0.6163 GB, free: 120.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00376/0.6577, allocations: 0.9381 MB / 0.6172 GB, free: 120.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008232/0.6659, allocations: 8.217 MB / 0.6253 GB, free: 114.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008405/0.6668, allocations: 1.408 MB / 0.6266 GB, free: 114.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009865/0.6678, allocations: 256.9 kB / 0.6269 GB, free: 114.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006223/0.6684, allocations: 0.7238 MB / 0.6276 GB, free: 113.5 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.6684, allocations: 0 / 0.6276 GB, free: 113.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06996/0.7384, allocations: 50.66 MB / 0.6771 GB, free: 78.55 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001286/0.7385, allocations: 255 kB / 0.6773 GB, free: 78.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.349/4.088, allocations: 4 kB / 0.6773 GB, free: 78.29 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_TestMedium_TestBasePropertiesExplicit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_TestMedium_TestBasePropertiesExplicit.fmu > ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.pipe 2>&1)