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.0007668/0.0007668, 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.00451/0.00451, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.289/1.289, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.124/0.124, allocations: 2.78 MB / 294.2 MB, free: 4.316 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.0003191, allocations: 8 kB / 356.3 MB, free: 3.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09647/0.09681, allocations: 51.26 MB / 407.6 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit): time 0.2379/0.3347, allocations: 94.75 MB / 0.4905 GB, free: 4.383 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0542/0.389, allocations: 58.12 MB / 0.5473 GB, free: 7.875 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001828/0.3909, allocations: 4 kB / 0.5473 GB, free: 7.871 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004105/0.395, allocations: 1.283 MB / 0.5486 GB, free: 6.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02329/0.4183, allocations: 6.74 MB / 0.5551 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008855/0.4272, allocations: 2.685 MB / 0.5578 GB, free: 13.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002624/0.4298, allocations: 1.767 MB / 0.5595 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/0.4301, allocations: 137.6 kB / 0.5596 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005953/0.436, allocations: 0.691 MB / 0.5603 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.4371, allocations: 0.5713 MB / 0.5609 GB, free: 9.957 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.481e-05/0.4371, allocations: 39.98 kB / 0.5609 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02234/0.4595, allocations: 3.941 MB / 0.5647 GB, free: 6 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005216/0.46, allocations: 174.8 kB / 0.5649 GB, free: 5.828 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001542/0.4616, allocations: 0.6898 MB / 0.5656 GB, free: 5.129 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02093/0.4825, allocations: 3.748 MB / 0.5692 GB, free: 1.371 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.4826, allocations: 4 kB / 0.5692 GB, free: 1.367 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4826, allocations: 4 kB / 0.5692 GB, free: 1.363 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.545e-05/0.4826, allocations: 0 / 0.5692 GB, free: 1.363 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.003259/0.4859, allocations: 1.768 MB / 0.571 GB, free: 15.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/0.486, allocations: 12.03 kB / 0.571 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002654/0.4862, allocations: 217.3 kB / 0.5712 GB, free: 15.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004788/0.491, allocations: 1.412 MB / 0.5726 GB, free: 13.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006769/0.4917, allocations: 498.5 kB / 0.573 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-05/0.4918, allocations: 85.89 kB / 0.5731 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.4919, allocations: 104.6 kB / 0.5732 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002725/0.4947, allocations: 1.921 MB / 0.5751 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.4947, allocations: 4 kB / 0.5751 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.079e-05/0.4948, allocations: 40 kB / 0.5751 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-05/0.4949, allocations: 95.92 kB / 0.5752 GB, free: 11.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002519/0.4974, allocations: 1.851 MB / 0.577 GB, free: 9.211 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1876/0.685, allocations: 9.211 MB / 0.586 GB, free: 135 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/0.6867, allocations: 0.813 MB / 0.5868 GB, free: 134.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008451/0.6875, allocations: 0.6862 MB / 0.5875 GB, free: 134.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002646/0.6902, allocations: 2.898 MB / 0.5903 GB, free: 133 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.6902, allocations: 40.88 kB / 0.5904 GB, free: 133 MB / 446.1 MB Notification: Performance of pre-optimization done (n=194): time 2.575e-06/0.6902, allocations: 3.25 kB / 0.5904 GB, free: 133 MB / 446.1 MB Notification: Performance of matching and sorting (n=194): time 0.002636/0.6929, allocations: 1.41 MB / 0.5918 GB, free: 132.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.6929, allocations: 92.53 kB / 0.5918 GB, free: 132.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.6931, allocations: 202 kB / 0.592 GB, free: 132.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.6932, allocations: 28.77 kB / 0.5921 GB, free: 132.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.6933, allocations: 450.3 kB / 0.5925 GB, free: 132.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/0.6936, allocations: 0.6066 MB / 0.5931 GB, free: 131.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.6937, allocations: 115.3 kB / 0.5932 GB, free: 131.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.307e-05/0.6938, allocations: 306 kB / 0.5935 GB, free: 131.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004661/0.6943, allocations: 316.4 kB / 0.5938 GB, free: 131.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005742/0.6948, allocations: 0.5588 MB / 0.5943 GB, free: 131.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.6961, allocations: 1.03 MB / 0.5953 GB, free: 131.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.6961, allocations: 0 / 0.5953 GB, free: 131.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.00143/0.6975, allocations: 1.026 MB / 0.5963 GB, free: 130.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.6975, allocations: 9.938 kB / 0.5964 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.6976, allocations: 6.219 kB / 0.5964 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.6976, allocations: 10.16 kB / 0.5964 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.698, allocations: 109.2 kB / 0.5965 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004212/0.6984, allocations: 1.193 MB / 0.5976 GB, free: 129.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007032/0.6991, allocations: 164.7 kB / 0.5978 GB, free: 129.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.844e-05/0.6992, allocations: 29.62 kB / 0.5978 GB, free: 129.5 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.0004598/0.6996, allocations: 301.7 kB / 0.5981 GB, free: 129.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.6998, allocations: 54.72 kB / 0.5982 GB, free: 129.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003223/0.703, allocations: 2.957 MB / 0.601 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002519/0.7055, allocations: 2.465 MB / 0.6035 GB, free: 126.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.7055, allocations: 0 / 0.6035 GB, free: 126.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.7056, allocations: 10.12 kB / 0.6035 GB, free: 126.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006155/0.7117, allocations: 5.7 MB / 0.609 GB, free: 123.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/0.7118, allocations: 0 / 0.609 GB, free: 123.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007811/0.7125, allocations: 305.4 kB / 0.6093 GB, free: 123.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003608/0.7129, allocations: 301.5 kB / 0.6096 GB, free: 123.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.398e-05/0.713, allocations: 34.34 kB / 0.6096 GB, free: 123.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005404/0.7135, allocations: 1.267 MB / 0.6109 GB, free: 122.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.7135, allocations: 3.875 kB / 0.6109 GB, free: 122.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002512/0.7161, allocations: 2.443 MB / 0.6133 GB, free: 121.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003523/0.7164, allocations: 238.2 kB / 0.6135 GB, free: 121.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.7165, allocations: 30 kB / 0.6135 GB, free: 121.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007804/0.7173, allocations: 204.4 kB / 0.6137 GB, free: 121 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.7174, allocations: 119.7 kB / 0.6138 GB, free: 121 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-05/0.7175, allocations: 51.91 kB / 0.6139 GB, free: 121 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.872e-05/0.7176, allocations: 132.9 kB / 0.614 GB, free: 120.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7176, allocations: 0 / 0.614 GB, free: 120.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001187/0.7188, allocations: 0.4973 MB / 0.6145 GB, free: 120.8 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.002983/0.7218, allocations: 3.172 MB / 0.6176 GB, free: 119.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002211/0.724, allocations: 2.369 MB / 0.6199 GB, free: 117.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.724, allocations: 3.938 kB / 0.6199 GB, free: 117.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.7251, allocations: 1.077 MB / 0.621 GB, free: 117.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004303/0.7294, allocations: 0.93 MB / 0.6219 GB, free: 117 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009037/0.7385, allocations: 8.392 MB / 0.6301 GB, free: 111.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009613/0.7395, allocations: 1.41 MB / 0.6314 GB, free: 111 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001052/0.7405, allocations: 239.1 kB / 0.6317 GB, free: 111 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006462/0.7412, allocations: 0.7244 MB / 0.6324 GB, free: 110.4 MB / 446.1 MB Notification: Performance of SimCode: time 6.72e-07/0.7412, allocations: 1.188 kB / 0.6324 GB, free: 110.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09532/0.8365, allocations: 50.7 MB / 0.6819 GB, free: 74.46 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/0.8368, allocations: 284.8 kB / 0.6822 GB, free: 74.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.434/4.27, allocations: 3.938 kB / 0.6822 GB, free: 74.07 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)