Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",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.001228/0.001228, allocations: 180.2 kB / 14.15 MB, free: 1.176 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.534/1.534, allocations: 221.3 MB / 236 MB, free: 2.953 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.001052/0.001052, allocations: 95.97 kB / 287 MB, free: 232 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.232/0.232, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.707e-05/3.71e-05, allocations: 8.203 kB / 451.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1537, allocations: 61.91 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5825/0.7363, allocations: 191.1 MB / 0.6884 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.7367, allocations: 80.8 kB / 0.6885 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.4676/1.204, allocations: 35.54 MB / 0.7232 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.723e-06/1.204, allocations: 0 / 0.7232 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.655e-05/1.204, allocations: 5.688 kB / 0.7232 GB, free: 177.8 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001541/1.206, allocations: 0.5862 MB / 0.7237 GB, free: 177.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/1.206, allocations: 12.28 kB / 0.7238 GB, free: 177.3 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.367e-05/1.206, allocations: 50.25 kB / 0.7238 GB, free: 177.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005089/1.207, allocations: 42.92 kB / 0.7238 GB, free: 177.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/1.207, allocations: 218.2 kB / 0.724 GB, free: 177.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/1.207, allocations: 14.8 kB / 0.7241 GB, free: 177.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/1.207, allocations: 18.44 kB / 0.7241 GB, free: 177.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004345/1.207, allocations: 236.9 kB / 0.7243 GB, free: 176.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/1.207, allocations: 5.094 kB / 0.7243 GB, free: 176.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/1.207, allocations: 9.75 kB / 0.7243 GB, free: 176.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/1.207, allocations: 4.781 kB / 0.7243 GB, free: 176.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003818/1.208, allocations: 224.7 kB / 0.7245 GB, free: 176.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/1.209, allocations: 1.332 MB / 0.7258 GB, free: 175.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/1.209, allocations: 86.91 kB / 0.7259 GB, free: 175.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.992e-05/1.209, allocations: 43.53 kB / 0.726 GB, free: 175.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/1.211, allocations: 2.096 MB / 0.728 GB, free: 173.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002194/1.211, allocations: 165.2 kB / 0.7282 GB, free: 173.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=17): time 1.913e-06/1.211, allocations: 0 / 0.7282 GB, free: 173.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0008661/1.212, allocations: 321 kB / 0.7285 GB, free: 173.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/1.212, allocations: 268.1 kB / 0.7287 GB, free: 172.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/1.212, allocations: 153.4 kB / 0.7289 GB, free: 172.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/1.212, allocations: 30.33 kB / 0.7289 GB, free: 172.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.98e-05/1.212, allocations: 141.6 kB / 0.729 GB, free: 172.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.891e-05/1.212, allocations: 65.67 kB / 0.7291 GB, free: 172.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.201e-05/1.212, allocations: 5.219 kB / 0.7291 GB, free: 172.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.724e-05/1.212, allocations: 320.5 kB / 0.7294 GB, free: 172.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.855e-05/1.213, allocations: 46.5 kB / 0.7295 GB, free: 172.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/1.213, allocations: 186 kB / 0.7296 GB, free: 172.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/1.213, allocations: 65.45 kB / 0.7297 GB, free: 172.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.213, allocations: 2 kB / 0.7297 GB, free: 172.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005199/1.213, allocations: 247.3 kB / 0.7299 GB, free: 172.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.956e-05/1.214, allocations: 10.95 kB / 0.7299 GB, free: 172.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/1.214, allocations: 5.156 kB / 0.73 GB, free: 172.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.565e-05/1.214, allocations: 11.81 kB / 0.73 GB, free: 172.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006022/1.214, allocations: 105 kB / 0.7301 GB, free: 172.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000345/1.215, allocations: 0.5909 MB / 0.7306 GB, free: 171.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/1.215, allocations: 14.06 kB / 0.7307 GB, free: 171.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.359e-05/1.215, allocations: 24.17 kB / 0.7307 GB, free: 171.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0001239/1.215, allocations: 132.8 kB / 0.7308 GB, free: 171.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/1.215, allocations: 17.28 kB / 0.7308 GB, free: 171.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005497/1.216, allocations: 225 kB / 0.731 GB, free: 171.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.216, allocations: 2.062 kB / 0.731 GB, free: 171.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/1.216, allocations: 1.094 kB / 0.731 GB, free: 171.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/1.216, allocations: 0 / 0.731 GB, free: 171.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/1.216, allocations: 234.3 kB / 0.7313 GB, free: 171 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.216, allocations: 0 / 0.7313 GB, free: 171 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003301/1.216, allocations: 46.97 kB / 0.7313 GB, free: 171 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/1.216, allocations: 0.9688 kB / 0.7313 GB, free: 171 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/1.216, allocations: 1.281 kB / 0.7313 GB, free: 171 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001992/1.216, allocations: 0.5874 MB / 0.7319 GB, free: 170.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.216, allocations: 4.844 kB / 0.7319 GB, free: 170.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/1.217, allocations: 149.6 kB / 0.732 GB, free: 170.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/1.217, allocations: 119.7 kB / 0.7321 GB, free: 170.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/1.217, allocations: 1.969 kB / 0.7321 GB, free: 170.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/1.217, allocations: 5.75 kB / 0.7321 GB, free: 170.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/1.217, allocations: 8.062 kB / 0.7322 GB, free: 170.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/1.217, allocations: 16.2 kB / 0.7322 GB, free: 170.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001058/1.217, allocations: 131.4 kB / 0.7323 GB, free: 170.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/1.217, allocations: 0 / 0.7323 GB, free: 170.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007016/1.218, allocations: 139 kB / 0.7324 GB, free: 170.1 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0008699/1.219, allocations: 0.9115 MB / 0.7333 GB, free: 169.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004516/1.219, allocations: 140.3 kB / 0.7335 GB, free: 169.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.219, allocations: 3.875 kB / 0.7335 GB, free: 169.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001701/1.219, allocations: 48.12 kB / 0.7335 GB, free: 169.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/1.22, allocations: 31.89 kB / 0.7335 GB, free: 169.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02887/1.249, allocations: 11.89 MB / 0.7451 GB, free: 167.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/1.249, allocations: 0.7134 MB / 0.7458 GB, free: 166.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00029/1.249, allocations: 82.11 kB / 0.7459 GB, free: 166.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/1.249, allocations: 54.27 kB / 0.746 GB, free: 166.3 MB / 0.5105 GB Notification: Performance of SimCode: time 8.12e-07/1.249, allocations: 0 / 0.746 GB, free: 166.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01997/1.269, allocations: 5.398 MB / 0.7512 GB, free: 164.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/1.269, allocations: 237.8 kB / 0.7515 GB, free: 164 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.968/3.238, allocations: 0 / 0.7515 GB, free: 164 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat does not exist to compare? outputFormat=mat