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.0006858/0.000686, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005715/0.005715, allocations: 173.2 kB / 16.26 MB, free: 6.676 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.32/1.32, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1355/0.1355, allocations: 2.784 MB / 294.2 MB, free: 4.289 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003241/0.0003243, allocations: 8 kB / 356.3 MB, free: 3.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09565/0.09599, allocations: 51.25 MB / 407.6 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit): time 0.2369/0.3329, allocations: 94.75 MB / 0.4905 GB, free: 4.301 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.05498/0.3879, allocations: 58.11 MB / 0.5473 GB, free: 7.879 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001983/0.39, allocations: 4 kB / 0.5473 GB, free: 7.875 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005244/0.3952, allocations: 1.287 MB / 0.5485 GB, free: 6.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02796/0.4232, allocations: 6.74 MB / 0.5551 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0111/0.4344, allocations: 2.685 MB / 0.5578 GB, free: 13.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002771/0.4372, allocations: 1.759 MB / 0.5595 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003218/0.4375, allocations: 131.2 kB / 0.5596 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006151/0.4437, allocations: 0.7043 MB / 0.5603 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.4449, allocations: 0.5752 MB / 0.5608 GB, free: 9.965 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.445, allocations: 32 kB / 0.5609 GB, free: 9.934 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01744/0.4625, allocations: 3.945 MB / 0.5647 GB, free: 6.012 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003617/0.4629, allocations: 182.8 kB / 0.5649 GB, free: 5.832 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001126/0.464, allocations: 0.6859 MB / 0.5656 GB, free: 5.137 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02133/0.4853, allocations: 3.748 MB / 0.5692 GB, free: 1.379 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.242e-05/0.4854, allocations: 4 kB / 0.5692 GB, free: 1.375 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.849e-06/0.4854, allocations: 0 / 0.5692 GB, free: 1.375 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001002/0.4856, allocations: 0 / 0.5692 GB, free: 1.375 MB / 430.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.005183/0.4908, allocations: 1.768 MB / 0.571 GB, free: 15.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.4908, allocations: 8.031 kB / 0.571 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003593/0.4912, allocations: 221.3 kB / 0.5712 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00506/0.4963, allocations: 1.412 MB / 0.5726 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008788/0.4971, allocations: 0.4908 MB / 0.573 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.762e-05/0.4973, allocations: 82.52 kB / 0.5731 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.4974, allocations: 100.6 kB / 0.5732 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003032/0.5004, allocations: 1.921 MB / 0.5751 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.5005, allocations: 0 / 0.5751 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.914e-05/0.5006, allocations: 48 kB / 0.5751 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.689e-05/0.5007, allocations: 87.94 kB / 0.5752 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00265/0.5033, allocations: 1.855 MB / 0.577 GB, free: 9.219 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1931/0.6964, allocations: 9.194 MB / 0.586 GB, free: 134.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.6979, allocations: 0.7829 MB / 0.5868 GB, free: 134.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000796/0.6987, allocations: 0.6673 MB / 0.5874 GB, free: 134.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002383/0.7011, allocations: 2.856 MB / 0.5902 GB, free: 132.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.7012, allocations: 43.25 kB / 0.5903 GB, free: 132.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=193): time 2.254e-06/0.7012, allocations: 0 / 0.5903 GB, free: 132.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=193): time 0.002455/0.7036, allocations: 1.34 MB / 0.5916 GB, free: 132.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.7037, allocations: 91.3 kB / 0.5917 GB, free: 132.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.7039, allocations: 200.6 kB / 0.5918 GB, free: 132.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.7039, allocations: 32.02 kB / 0.5919 GB, free: 132.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/0.7042, allocations: 459.4 kB / 0.5923 GB, free: 132.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003124/0.7045, allocations: 0.5965 MB / 0.5929 GB, free: 131.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.7046, allocations: 113.3 kB / 0.593 GB, free: 131.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.944e-05/0.7047, allocations: 311.5 kB / 0.5933 GB, free: 131.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/0.7052, allocations: 292 kB / 0.5936 GB, free: 131.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005464/0.7057, allocations: 0.5447 MB / 0.5941 GB, free: 131.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.7068, allocations: 1.001 MB / 0.5951 GB, free: 131 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.7069, allocations: 10.78 kB / 0.5951 GB, free: 131 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.001426/0.7083, allocations: 0.99 MB / 0.5961 GB, free: 130.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.7083, allocations: 6.531 kB / 0.5961 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.7083, allocations: 6.344 kB / 0.5961 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.7084, allocations: 9.531 kB / 0.5961 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.7087, allocations: 89.88 kB / 0.5962 GB, free: 130.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/0.7087, allocations: 20.02 kB / 0.5962 GB, free: 130.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007413/0.7094, allocations: 158.2 kB / 0.5963 GB, free: 130.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.643e-05/0.7095, allocations: 29.12 kB / 0.5964 GB, free: 130.7 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.0004395/0.71, allocations: 299.8 kB / 0.5967 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.7101, allocations: 58.38 kB / 0.5967 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002805/0.7129, allocations: 2.767 MB / 0.5994 GB, free: 129 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00223/0.7151, allocations: 2.265 MB / 0.6016 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.7151, allocations: 5.344 kB / 0.6016 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/0.7152, allocations: 10.08 kB / 0.6016 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006153/0.7213, allocations: 5.459 MB / 0.607 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.7213, allocations: 0 / 0.607 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007526/0.7221, allocations: 310.2 kB / 0.6073 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.557e-06/0.7221, allocations: 6.656 kB / 0.6073 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.755e-05/0.7222, allocations: 37.53 kB / 0.6073 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.435e-06/0.7222, allocations: 6.438 kB / 0.6073 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7222, allocations: 2.938 kB / 0.6073 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/0.7244, allocations: 2.144 MB / 0.6094 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003504/0.7248, allocations: 239.9 kB / 0.6096 GB, free: 124 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.047e-05/0.7249, allocations: 34.47 kB / 0.6097 GB, free: 124 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007607/0.7256, allocations: 190.8 kB / 0.6099 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.7258, allocations: 119 kB / 0.61 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.908e-05/0.7258, allocations: 48.41 kB / 0.61 GB, free: 123.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.905e-05/0.726, allocations: 136.7 kB / 0.6101 GB, free: 123.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.726, allocations: 0 / 0.6101 GB, free: 123.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001299/0.7273, allocations: 0.4971 MB / 0.6106 GB, free: 123.7 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.003319/0.7306, allocations: 3.139 MB / 0.6137 GB, free: 122.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002719/0.7333, allocations: 2.302 MB / 0.6159 GB, free: 120.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.7333, allocations: 5.5 kB / 0.6159 GB, free: 120.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.7344, allocations: 1.045 MB / 0.617 GB, free: 120.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004471/0.7389, allocations: 0.9481 MB / 0.6179 GB, free: 119.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009298/0.7482, allocations: 8.289 MB / 0.626 GB, free: 114.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000942/0.7492, allocations: 1.409 MB / 0.6274 GB, free: 113.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001051/0.7503, allocations: 255.3 kB / 0.6276 GB, free: 113.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006321/0.7509, allocations: 0.7288 MB / 0.6283 GB, free: 113.3 MB / 446.1 MB Notification: Performance of SimCode: time 8.02e-07/0.7509, allocations: 0 / 0.6283 GB, free: 113.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09485/0.8458, allocations: 50.01 MB / 0.6772 GB, free: 79.34 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001473/0.8459, allocations: 251.3 kB / 0.6774 GB, free: 79.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.375/4.221, allocations: 0 / 0.6774 GB, free: 79.08 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)