Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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.ReferenceAir_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",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.001186/0.001186, allocations: 175.9 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009222/0.0009221, allocations: 86.64 kB / 292.1 MB, free: 10.92 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.3714/0.3714, allocations: 44.22 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003697, allocations: 8 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4345, allocations: 61.91 MB / 0.5096 GB, free: 38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.36/1.795, allocations: 0.5452 GB / 1.055 GB, free: 25.44 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003296/1.795, allocations: 91.67 kB / 1.055 GB, free: 25.39 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6314/2.427, allocations: 108.6 MB / 1.161 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.717e-06/2.427, allocations: 0 / 1.161 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.848e-05/2.427, allocations: 11.92 kB / 1.161 GB, free: 142.1 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003459/2.43, allocations: 1.022 MB / 1.162 GB, free: 141 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/2.431, allocations: 12.56 kB / 1.162 GB, free: 141 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.912e-05/2.431, allocations: 66.55 kB / 1.162 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005734/2.431, allocations: 83.64 kB / 1.162 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/2.431, allocations: 246.7 kB / 1.162 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/2.432, allocations: 20.56 kB / 1.162 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/2.432, allocations: 27.95 kB / 1.162 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008727/2.432, allocations: 477.5 kB / 1.163 GB, free: 140 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/2.432, allocations: 4 kB / 1.163 GB, free: 140 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.236e-05/2.433, allocations: 12 kB / 1.163 GB, free: 140 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/2.433, allocations: 4 kB / 1.163 GB, free: 140 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009099/2.433, allocations: 0.6773 MB / 1.164 GB, free: 139.3 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008096/2.442, allocations: 4.178 MB / 1.168 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006227/2.442, allocations: 219.4 kB / 1.168 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07398/2.516, allocations: 39.83 MB / 1.207 GB, free: 91.21 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005936/2.517, allocations: 310.5 kB / 1.207 GB, free: 90.86 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 3.146e-06/2.517, allocations: 0 / 1.207 GB, free: 90.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34): time 0.002324/2.519, allocations: 0.7904 MB / 1.208 GB, free: 90.06 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002202/2.519, allocations: 431.2 kB / 1.208 GB, free: 89.54 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/2.52, allocations: 151.2 kB / 1.208 GB, free: 89.39 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/2.52, allocations: 31.39 kB / 1.208 GB, free: 89.35 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/2.52, allocations: 175.8 kB / 1.209 GB, free: 89.18 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.62e-05/2.52, allocations: 122.5 kB / 1.209 GB, free: 89.05 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.664e-05/2.52, allocations: 8 kB / 1.209 GB, free: 89.05 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001381/2.52, allocations: 330.8 kB / 1.209 GB, free: 88.71 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/2.52, allocations: 65.08 kB / 1.209 GB, free: 88.65 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/2.52, allocations: 302.2 kB / 1.209 GB, free: 88.24 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/2.521, allocations: 111.8 kB / 1.21 GB, free: 88.13 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/2.521, allocations: 8 kB / 1.21 GB, free: 88.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006032/2.521, allocations: 396.8 kB / 1.21 GB, free: 87.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/2.521, allocations: 8 kB / 1.21 GB, free: 87.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/2.521, allocations: 8 kB / 1.21 GB, free: 87.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.055e-05/2.521, allocations: 12.78 kB / 1.21 GB, free: 87.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/2.523, allocations: 255.7 kB / 1.21 GB, free: 87.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004731/2.524, allocations: 1.195 MB / 1.211 GB, free: 86.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/2.524, allocations: 19.94 kB / 1.211 GB, free: 86.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.71e-05/2.524, allocations: 31.98 kB / 1.211 GB, free: 86.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * 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.0001682/2.524, allocations: 161.5 kB / 1.212 GB, free: 85.99 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.314e-05/2.524, allocations: 23.72 kB / 1.212 GB, free: 85.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/2.525, allocations: 0.9878 MB / 1.213 GB, free: 84.95 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/2.525, allocations: 11.98 kB / 1.213 GB, free: 84.93 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/2.525, allocations: 4 kB / 1.213 GB, free: 84.93 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/2.525, allocations: 0 / 1.213 GB, free: 84.93 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02509/2.55, allocations: 12.3 MB / 1.225 GB, free: 71.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/2.551, allocations: 3.938 kB / 1.225 GB, free: 71.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009562/2.552, allocations: 135.9 kB / 1.225 GB, free: 71.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.185e-05/2.552, allocations: 8.062 kB / 1.225 GB, free: 71.35 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/2.552, allocations: 8 kB / 1.225 GB, free: 71.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002619/2.552, allocations: 0.5899 MB / 1.225 GB, free: 70.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/2.552, allocations: 0 / 1.225 GB, free: 70.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006737/2.553, allocations: 0.6277 MB / 1.226 GB, free: 70.01 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/2.553, allocations: 196.2 kB / 1.226 GB, free: 69.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.218e-05/2.553, allocations: 8 kB / 1.226 GB, free: 69.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/2.553, allocations: 15.98 kB / 1.226 GB, free: 69.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/2.553, allocations: 23.88 kB / 1.226 GB, free: 69.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/2.553, allocations: 19.98 kB / 1.226 GB, free: 69.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002139/2.553, allocations: 211.2 kB / 1.226 GB, free: 69.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/2.553, allocations: 0 / 1.226 GB, free: 69.52 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002457/2.556, allocations: 471.4 kB / 1.227 GB, free: 69.06 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003199/2.559, allocations: 2.455 MB / 1.229 GB, free: 66.52 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001377/2.56, allocations: 397.6 kB / 1.23 GB, free: 66.13 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/2.561, allocations: 64 / 1.23 GB, free: 66.13 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006136/2.561, allocations: 242.4 kB / 1.23 GB, free: 65.89 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005312/2.562, allocations: 85.77 kB / 1.23 GB, free: 65.81 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.384/4.946, allocations: 0.6836 GB / 1.913 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/4.946, allocations: 0.8231 MB / 1.914 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000563/4.947, allocations: 154.6 kB / 1.914 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/4.947, allocations: 135.8 kB / 1.915 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.383e-06/4.947, allocations: 0 / 1.915 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04109/4.988, allocations: 18.52 MB / 1.933 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/4.989, allocations: 230.1 kB / 1.933 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.96/7.949, allocations: 0 / 1.933 GB, free: 126.3 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat