Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_3_2_3_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.00127/0.00127, allocations: 183.5 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.961/1.961, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.001031/0.001031, allocations: 91.16 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5055/0.5055, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.268e-05/4.278e-05, allocations: 4 kB / 425.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1651, allocations: 58.84 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.57/1.735, allocations: 0.5747 GB / 1.048 GB, free: 45.21 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/1.735, allocations: 82.27 kB / 1.048 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.5396/2.275, allocations: 101.9 MB / 1.147 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.964e-06/2.275, allocations: 1.375 kB / 1.147 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.352e-05/2.275, allocations: 20.78 kB / 1.147 GB, free: 141.9 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.00182/2.277, allocations: 0.8219 MB / 1.148 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/2.277, allocations: 13.77 kB / 1.148 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001012/2.277, allocations: 81.64 kB / 1.148 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004039/2.277, allocations: 68.91 kB / 1.148 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000729/2.278, allocations: 404.8 kB / 1.149 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.34e-05/2.278, allocations: 60.81 kB / 1.149 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.076e-05/2.278, allocations: 36.62 kB / 1.149 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008998/2.279, allocations: 488.1 kB / 1.149 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/2.279, allocations: 3.938 kB / 1.149 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.795e-05/2.279, allocations: 25.42 kB / 1.149 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.746e-05/2.279, allocations: 17.81 kB / 1.149 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006123/2.28, allocations: 342.8 kB / 1.149 GB, free: 140.5 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.002952/2.283, allocations: 2.43 MB / 1.152 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004989/2.283, allocations: 281.1 kB / 1.152 GB, free: 138.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/2.284, allocations: 124.7 kB / 1.152 GB, free: 138.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.071e-05/2.284, allocations: 4.344 kB / 1.152 GB, free: 138.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004189/2.284, allocations: 233.3 kB / 1.152 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 3.076e-06/2.284, allocations: 0.875 kB / 1.152 GB, free: 138.3 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.00967/2.294, allocations: 2.662 MB / 1.155 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/2.294, allocations: 159.4 kB / 1.155 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004151/2.294, allocations: 338.2 kB / 1.156 GB, free: 136.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.682e-05/2.294, allocations: 37.55 kB / 1.156 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/2.295, allocations: 255.1 kB / 1.156 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.482e-05/2.295, allocations: 158.4 kB / 1.156 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/2.295, allocations: 15.97 kB / 1.156 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.238e-05/2.295, allocations: 358.9 kB / 1.156 GB, free: 136.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/2.295, allocations: 149.7 kB / 1.156 GB, free: 136 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/2.295, allocations: 344.3 kB / 1.157 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/2.296, allocations: 236.2 kB / 1.157 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/2.296, allocations: 0 / 1.157 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009158/2.297, allocations: 0.6318 MB / 1.158 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/2.297, allocations: 40.47 kB / 1.158 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/2.297, allocations: 4.531 kB / 1.158 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003874/2.297, allocations: 122 kB / 1.158 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005238/2.298, allocations: 146.4 kB / 1.158 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004379/2.298, allocations: 0.6709 MB / 1.159 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005563/2.299, allocations: 72.73 kB / 1.159 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.666e-05/2.299, allocations: 46.69 kB / 1.159 GB, free: 134.7 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.0001474/2.299, allocations: 153.3 kB / 1.159 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.522e-05/2.299, allocations: 54.48 kB / 1.159 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/2.3, allocations: 0.6045 MB / 1.159 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/2.3, allocations: 7.859 kB / 1.159 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/2.3, allocations: 0 / 1.159 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/2.3, allocations: 7.359 kB / 1.16 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/2.302, allocations: 1.141 MB / 1.161 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/2.302, allocations: 7.969 kB / 1.161 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005151/2.303, allocations: 120.8 kB / 1.161 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005034/2.303, allocations: 108.8 kB / 1.161 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.304e-05/2.303, allocations: 15.59 kB / 1.161 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/2.304, allocations: 1.671 MB / 1.162 GB, free: 132 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/2.304, allocations: 7.891 kB / 1.163 GB, free: 132 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/2.306, allocations: 0.8565 MB / 1.163 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/2.306, allocations: 167.2 kB / 1.163 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.195e-05/2.306, allocations: 11.81 kB / 1.164 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004994/2.306, allocations: 62.03 kB / 1.164 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/2.307, allocations: 62.47 kB / 1.164 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.465e-05/2.307, allocations: 35.2 kB / 1.164 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002775/2.307, allocations: 264.3 kB / 1.164 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.31e-07/2.307, allocations: 0 / 1.164 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001105/2.308, allocations: 301 kB / 1.164 GB, free: 131.1 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.002692/2.311, allocations: 2.451 MB / 1.167 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008529/2.312, allocations: 496.9 kB / 1.167 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/2.312, allocations: 0 / 1.167 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004495/2.312, allocations: 354.6 kB / 1.167 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009098/2.313, allocations: 181.9 kB / 1.168 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/2.315, allocations: 0.9919 MB / 1.169 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/2.315, allocations: 0.864 MB / 1.169 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006246/2.316, allocations: 158 kB / 1.17 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003364/2.316, allocations: 193.7 kB / 1.17 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.834e-06/2.316, allocations: 0 / 1.17 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04516/2.361, allocations: 28.39 MB / 1.197 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/2.362, allocations: 244 kB / 1.198 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.896/5.258, allocations: 0 / 1.198 GB, free: 110.4 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat does not exist to compare? outputFormat=mat