Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002184/0.002189, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.308/2.308, allocations: 205.2 MB / 219.4 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 86.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2931/0.293, allocations: 43.48 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.687e-05/3.715e-05, allocations: 0 / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1325, allocations: 58.85 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.097/2.23, allocations: 0.5747 GB / 1.048 GB, free: 58.45 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004338/2.23, allocations: 98.08 kB / 1.048 GB, free: 58.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8429/3.073, allocations: 101.9 MB / 1.147 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.983e-06/3.073, allocations: 0 / 1.147 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.876e-05/3.073, allocations: 14.28 kB / 1.147 GB, free: 159.3 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002314/3.076, allocations: 0.8225 MB / 1.148 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/3.076, allocations: 11.73 kB / 1.148 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000133/3.076, allocations: 72.27 kB / 1.148 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005371/3.076, allocations: 77.28 kB / 1.148 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009603/3.077, allocations: 412.6 kB / 1.149 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.934e-05/3.077, allocations: 58.23 kB / 1.149 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.817e-05/3.078, allocations: 35.25 kB / 1.149 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/3.079, allocations: 492.3 kB / 1.149 GB, free: 158 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/3.079, allocations: 7.453 kB / 1.149 GB, free: 158 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.457e-05/3.079, allocations: 22.38 kB / 1.149 GB, free: 158 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.931e-05/3.079, allocations: 18.5 kB / 1.149 GB, free: 158 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008325/3.08, allocations: 333.6 kB / 1.149 GB, free: 157.9 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.004375/3.084, allocations: 2.44 MB / 1.152 GB, free: 156 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006658/3.085, allocations: 275.1 kB / 1.152 GB, free: 155.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/3.085, allocations: 132.8 kB / 1.152 GB, free: 155.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.349e-05/3.085, allocations: 7.594 kB / 1.152 GB, free: 155.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005017/3.086, allocations: 231.5 kB / 1.152 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 3.035e-06/3.086, allocations: 0 / 1.152 GB, free: 155.7 MB / 0.5105 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: sweptVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.01497/3.101, allocations: 2.649 MB / 1.155 GB, free: 154.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.026e-05/3.101, allocations: 167.7 kB / 1.155 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005469/3.101, allocations: 334.3 kB / 1.156 GB, free: 154.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.149e-05/3.101, allocations: 37.17 kB / 1.156 GB, free: 154.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/3.102, allocations: 304.1 kB / 1.156 GB, free: 154 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/3.102, allocations: 156.6 kB / 1.156 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.843e-05/3.102, allocations: 18.06 kB / 1.156 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.009e-05/3.102, allocations: 335.7 kB / 1.156 GB, free: 153.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004346/3.102, allocations: 157.6 kB / 1.156 GB, free: 153.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005416/3.103, allocations: 345.2 kB / 1.157 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005199/3.104, allocations: 232.4 kB / 1.157 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/3.104, allocations: 3.938 kB / 1.157 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001461/3.105, allocations: 0.6115 MB / 1.158 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.208e-05/3.105, allocations: 33.86 kB / 1.158 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/3.105, allocations: 6.75 kB / 1.158 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006495/3.106, allocations: 114.1 kB / 1.158 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/3.107, allocations: 149.4 kB / 1.158 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000644/3.107, allocations: 0.6728 MB / 1.159 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00099/3.108, allocations: 68.97 kB / 1.159 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-05/3.109, allocations: 49.64 kB / 1.159 GB, free: 152.1 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: 7 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,sweptVolume.regularFlow[1],sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002105/3.109, allocations: 138 kB / 1.159 GB, free: 152 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/3.109, allocations: 50.81 kB / 1.159 GB, free: 152 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002116/3.111, allocations: 0.6221 MB / 1.159 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/3.111, allocations: 3.969 kB / 1.159 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/3.111, allocations: 0 / 1.159 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/3.111, allocations: 7.828 kB / 1.159 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00267/3.114, allocations: 1.152 MB / 1.161 GB, free: 151 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/3.114, allocations: 0 / 1.161 GB, free: 151 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000874/3.115, allocations: 119.1 kB / 1.161 GB, free: 151 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008859/3.116, allocations: 102 kB / 1.161 GB, free: 151 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.956e-05/3.116, allocations: 19.72 kB / 1.161 GB, free: 151 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/3.118, allocations: 1.678 MB / 1.162 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/3.118, allocations: 3.812 kB / 1.162 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/3.12, allocations: 0.8484 MB / 1.163 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003165/3.12, allocations: 166 kB / 1.163 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/3.12, allocations: 7.906 kB / 1.163 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008701/3.121, allocations: 68.62 kB / 1.164 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002463/3.121, allocations: 63 kB / 1.164 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-05/3.122, allocations: 37.03 kB / 1.164 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004024/3.122, allocations: 263.7 kB / 1.164 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.61e-07/3.122, allocations: 0 / 1.164 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001379/3.123, allocations: 306.8 kB / 1.164 GB, free: 148.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00414/3.128, allocations: 2.444 MB / 1.167 GB, free: 147 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001367/3.129, allocations: 495.4 kB / 1.167 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/3.129, allocations: 0 / 1.167 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007046/3.13, allocations: 343.4 kB / 1.167 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/3.131, allocations: 184.4 kB / 1.168 GB, free: 146.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002934/3.134, allocations: 1.039 MB / 1.169 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/3.135, allocations: 0.8616 MB / 1.169 GB, free: 145.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006203/3.135, allocations: 201.8 kB / 1.17 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.282e-06/3.135, allocations: 0 / 1.17 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.242/6.377, allocations: 16.82 MB / 1.186 GB, free: 133.8 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat does not exist to compare? outputFormat=mat