Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002584/0.002584, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.68/1.68, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 89.98 kB / 281.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3266/0.3266, allocations: 44.14 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.189e-05/7.198e-05, allocations: 4 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1684, allocations: 61.92 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.19/16.36, allocations: 6.131 GB / 6.625 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/16.36, allocations: 83.95 kB / 6.626 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.353/17.71, allocations: 257.1 MB / 6.877 GB, free: 84.44 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.653e-06/17.71, allocations: 0 / 6.877 GB, free: 84.44 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.341e-05/17.71, allocations: 3.531 kB / 6.877 GB, free: 84.44 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.009305/17.72, allocations: 1.916 MB / 6.879 GB, free: 83.37 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/17.72, allocations: 13.42 kB / 6.879 GB, free: 83.37 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002174/17.72, allocations: 35.78 kB / 6.879 GB, free: 83.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/17.72, allocations: 251 kB / 6.879 GB, free: 83.15 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/17.72, allocations: 9.125 kB / 6.879 GB, free: 83.15 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/17.72, allocations: 14.44 kB / 6.879 GB, free: 83.15 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008175/17.72, allocations: 0.8468 MB / 6.88 GB, free: 83.14 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005098/17.72, allocations: 472.2 kB / 6.88 GB, free: 83.04 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/17.72, allocations: 0 / 6.88 GB, free: 83.04 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/17.72, allocations: 6.891 kB / 6.88 GB, free: 83.04 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-05/17.72, allocations: 21.25 kB / 6.88 GB, free: 83.04 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00311/17.73, allocations: 3.906 MB / 6.884 GB, free: 79.67 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/17.73, allocations: 110.5 kB / 6.884 GB, free: 79.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.891e-05/17.73, allocations: 48.16 kB / 6.884 GB, free: 79.64 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0126/17.74, allocations: 14.8 MB / 6.899 GB, free: 64.52 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003076/17.74, allocations: 109.1 kB / 6.899 GB, free: 64.47 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=17): time 3.576e-06/17.74, allocations: 0 / 6.899 GB, free: 64.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.001751/17.74, allocations: 317.7 kB / 6.899 GB, free: 64.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/17.74, allocations: 51.41 kB / 6.899 GB, free: 64.33 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/17.74, allocations: 232.8 kB / 6.899 GB, free: 64.22 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/17.74, allocations: 25.7 kB / 6.899 GB, free: 64.19 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/17.74, allocations: 253.6 kB / 6.899 GB, free: 63.99 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/17.74, allocations: 70.02 kB / 6.9 GB, free: 63.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/17.74, allocations: 0 / 6.9 GB, free: 63.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.39e-05/17.74, allocations: 331.2 kB / 6.9 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/17.74, allocations: 74.53 kB / 6.9 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/17.74, allocations: 340 kB / 6.9 GB, free: 63.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/17.74, allocations: 241.6 kB / 6.901 GB, free: 63.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/17.74, allocations: 112 / 6.901 GB, free: 63.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001724/17.74, allocations: 0.5159 MB / 6.901 GB, free: 63.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/17.74, allocations: 10.75 kB / 6.901 GB, free: 63.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/17.74, allocations: 12.28 kB / 6.901 GB, free: 63.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.164e-05/17.74, allocations: 15.38 kB / 6.901 GB, free: 63.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006607/17.75, allocations: 172.5 kB / 6.901 GB, free: 63.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000694/17.75, allocations: 1.213 MB / 6.902 GB, free: 62.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004539/17.75, allocations: 10.88 kB / 6.902 GB, free: 62.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/17.75, allocations: 52.53 kB / 6.902 GB, free: 62.07 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002546/17.75, allocations: 125.1 kB / 6.903 GB, free: 61.96 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005786/17.75, allocations: 176.1 kB / 6.903 GB, free: 61.92 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/17.75, allocations: 26.45 kB / 6.903 GB, free: 61.91 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006605/17.75, allocations: 230.6 kB / 6.903 GB, free: 61.85 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/17.75, allocations: 0 / 6.903 GB, free: 61.85 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/17.75, allocations: 3.5 kB / 6.903 GB, free: 61.85 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/17.75, allocations: 3.797 kB / 6.903 GB, free: 61.85 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008443/17.75, allocations: 0.5005 MB / 6.903 GB, free: 61.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/17.75, allocations: 0 / 6.903 GB, free: 61.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/17.75, allocations: 73.31 kB / 6.904 GB, free: 61.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/17.75, allocations: 3.562 kB / 6.904 GB, free: 61.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/17.75, allocations: 9.219 kB / 6.904 GB, free: 61.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005036/17.75, allocations: 1.187 MB / 6.905 GB, free: 60.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.819e-06/17.75, allocations: 7.609 kB / 6.905 GB, free: 60.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005307/17.75, allocations: 286.7 kB / 6.905 GB, free: 60.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/17.75, allocations: 139.6 kB / 6.905 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.586e-05/17.75, allocations: 3.938 kB / 6.905 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/17.75, allocations: 6.906 kB / 6.905 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/17.75, allocations: 18.44 kB / 6.905 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/17.75, allocations: 9.594 kB / 6.905 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001633/17.75, allocations: 164 kB / 6.905 GB, free: 60.04 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/17.75, allocations: 0 / 6.905 GB, free: 60.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01085/17.76, allocations: 1.981 MB / 6.907 GB, free: 59.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01937/17.78, allocations: 3.571 MB / 6.911 GB, free: 58.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001272/17.78, allocations: 266.8 kB / 6.911 GB, free: 58.38 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/17.78, allocations: 0 / 6.911 GB, free: 58.38 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004783/17.78, allocations: 93.14 kB / 6.911 GB, free: 58.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006162/17.78, allocations: 50.44 kB / 6.911 GB, free: 58.37 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8499/18.63, allocations: 244 MB / 7.149 GB, free: 68.81 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/18.63, allocations: 0.7548 MB / 7.15 GB, free: 68.11 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006162/18.63, allocations: 139.5 kB / 7.15 GB, free: 68.08 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/18.64, allocations: 89.66 kB / 7.15 GB, free: 68.04 MB / 0.5261 GB Notification: Performance of SimCode: time 1.392e-06/18.64, allocations: 3.406 kB / 7.15 GB, free: 68.04 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09161/18.73, allocations: 51.28 MB / 7.2 GB, free: 37.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/18.73, allocations: 198 kB / 7.201 GB, free: 37.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.977/22.7, allocations: 5.969 kB / 7.201 GB, free: 37.54 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1)