Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.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.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",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.001299/0.001299, allocations: 180.5 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.456/1.456, allocations: 221.3 MB / 236 MB, free: 2.988 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.001136/0.001136, allocations: 91.84 kB / 287 MB, free: 240 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.2612/0.2612, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.683e-05/3.692e-05, allocations: 4.219 kB / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1505, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.097/1.247, allocations: 378.7 MB / 0.8716 GB, free: 29.75 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/1.248, allocations: 69.72 kB / 0.8717 GB, free: 29.71 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.0483/1.296, allocations: 21.73 MB / 0.8929 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.434e-06/1.296, allocations: 0 / 0.8929 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.745e-05/1.296, allocations: 4 kB / 0.8929 GB, free: 10.52 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001097/1.297, allocations: 0.5649 MB / 0.8935 GB, free: 9.914 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.314e-05/1.297, allocations: 8.031 kB / 0.8935 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.495e-05/1.297, allocations: 62.53 kB / 0.8935 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/1.297, allocations: 27.81 kB / 0.8936 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/1.298, allocations: 234.7 kB / 0.8938 GB, free: 9.539 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/1.298, allocations: 119.4 kB / 0.8939 GB, free: 9.398 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/1.298, allocations: 20 kB / 0.8939 GB, free: 9.379 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005569/1.299, allocations: 310.8 kB / 0.8942 GB, free: 9.051 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/1.299, allocations: 4 kB / 0.8942 GB, free: 9.047 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/1.299, allocations: 12 kB / 0.8942 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.159e-05/1.299, allocations: 8 kB / 0.8942 GB, free: 9.027 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000806/1.299, allocations: 0.7352 MB / 0.895 GB, free: 8.293 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/1.301, allocations: 1.147 MB / 0.8961 GB, free: 7.059 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004399/1.301, allocations: 163.8 kB / 0.8962 GB, free: 6.891 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/1.302, allocations: 85.5 kB / 0.8963 GB, free: 6.805 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002601/1.304, allocations: 2.858 MB / 0.8991 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/1.304, allocations: 34.56 kB / 0.8991 GB, free: 3.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 1.974e-06/1.304, allocations: 4 kB / 0.8992 GB, free: 3.406 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16): time 0.0008014/1.305, allocations: 201.8 kB / 0.8993 GB, free: 3.203 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/1.305, allocations: 59.34 kB / 0.8994 GB, free: 3.133 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/1.305, allocations: 189.7 kB / 0.8996 GB, free: 2.941 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/1.305, allocations: 25.7 kB / 0.8996 GB, free: 2.91 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.484e-05/1.305, allocations: 211 kB / 0.8998 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/1.306, allocations: 63.09 kB / 0.8999 GB, free: 2.637 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.17e-05/1.306, allocations: 8 kB / 0.8999 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.636e-05/1.306, allocations: 330.8 kB / 0.9002 GB, free: 2.297 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.93e-05/1.306, allocations: 44.88 kB / 0.9002 GB, free: 2.254 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/1.306, allocations: 313.2 kB / 0.9005 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/1.306, allocations: 107.8 kB / 0.9006 GB, free: 1.707 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/1.306, allocations: 8 kB / 0.9006 GB, free: 1.699 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005437/1.307, allocations: 361.7 kB / 0.901 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/1.307, allocations: 12 kB / 0.901 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/1.307, allocations: 8 kB / 0.901 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.25e-05/1.307, allocations: 20.03 kB / 0.901 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/1.307, allocations: 103.8 kB / 0.9011 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.067e-05/1.307, allocations: 15.94 kB / 0.9011 GB, free: 1.184 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/1.307, allocations: 20 kB / 0.9012 GB, free: 1.164 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.984e-05/1.307, allocations: 35.94 kB / 0.9012 GB, free: 1.129 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001129/1.308, allocations: 136.7 kB / 0.9013 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.711e-05/1.308, allocations: 19.81 kB / 0.9013 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003512/1.308, allocations: 169.6 kB / 0.9015 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/1.308, allocations: 8 kB / 0.9015 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/1.308, allocations: 3.938 kB / 0.9015 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/1.308, allocations: 3.984 kB / 0.9015 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005268/1.309, allocations: 452.8 kB / 0.902 GB, free: 276 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.309, allocations: 4 kB / 0.902 GB, free: 272 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/1.309, allocations: 31.91 kB / 0.902 GB, free: 240 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/1.309, allocations: 4 kB / 0.902 GB, free: 236 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/1.309, allocations: 4.094 kB / 0.902 GB, free: 232 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/1.309, allocations: 4 kB / 0.902 GB, free: 228 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.309, allocations: 8 kB / 0.902 GB, free: 220 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/1.309, allocations: 268.5 kB / 0.9023 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/1.309, allocations: 112.8 kB / 0.9024 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/1.309, allocations: 11.94 kB / 0.9024 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/1.31, allocations: 4 kB / 0.9024 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/1.31, allocations: 11.98 kB / 0.9024 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/1.31, allocations: 11.98 kB / 0.9024 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001422/1.31, allocations: 145.4 kB / 0.9025 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.11e-07/1.31, allocations: 4 kB / 0.9026 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005724/1.31, allocations: 95.94 kB / 0.9026 GB, free: 15.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009687/1.311, allocations: 1.069 MB / 0.9037 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003578/1.312, allocations: 178 kB / 0.9039 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/1.312, allocations: 0 / 0.9039 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.181e-05/1.312, allocations: 44.02 kB / 0.9039 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/1.312, allocations: 40.36 kB / 0.9039 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01573/1.328, allocations: 5.929 MB / 0.9097 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/1.328, allocations: 0.7326 MB / 0.9104 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003254/1.329, allocations: 58.75 kB / 0.9105 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/1.329, allocations: 67.41 kB / 0.9106 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of SimCode: time 1.723e-06/1.329, allocations: 0 / 0.9106 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/1.348, allocations: 5.511 MB / 0.9159 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002766/1.349, allocations: 161.6 kB / 0.9161 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/3.27, allocations: 0 / 0.9161 GB, free: 1.609 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat does not exist to compare? outputFormat=mat