Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.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.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",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.001746/0.001747, allocations: 181.6 kB / 14.15 MB, free: 1.164 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.556/1.556, allocations: 221.3 MB / 236 MB, free: 2.961 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.0009365/0.0009364, allocations: 95.53 kB / 287 MB, free: 256 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.1993/0.1993, allocations: 44.14 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.889e-05/3.892e-05, allocations: 4 kB / 451.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.133, allocations: 61.91 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.416/1.549, allocations: 489.2 MB / 0.9795 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/1.549, allocations: 85.27 kB / 0.9796 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.208/1.757, allocations: 99.92 MB / 1.077 GB, free: 47.48 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.492e-06/1.757, allocations: 0 / 1.077 GB, free: 47.48 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.186e-05/1.757, allocations: 12 kB / 1.077 GB, free: 47.46 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001837/1.759, allocations: 0.8171 MB / 1.078 GB, free: 46.59 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/1.759, allocations: 12.03 kB / 1.078 GB, free: 46.58 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001452/1.759, allocations: 74.53 kB / 1.078 GB, free: 46.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004557/1.76, allocations: 67.42 kB / 1.078 GB, free: 46.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008002/1.761, allocations: 415.3 kB / 1.079 GB, free: 45.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.96e-05/1.761, allocations: 58.48 kB / 1.079 GB, free: 45.92 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.612e-05/1.761, allocations: 32 kB / 1.079 GB, free: 45.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007313/1.761, allocations: 495.3 kB / 1.079 GB, free: 45.36 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/1.761, allocations: 11.91 kB / 1.079 GB, free: 45.35 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.443e-05/1.762, allocations: 16 kB / 1.079 GB, free: 45.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/1.762, allocations: 20.77 kB / 1.079 GB, free: 45.32 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005201/1.762, allocations: 330.8 kB / 1.079 GB, free: 45 MB / 0.5261 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.002763/1.765, allocations: 2.433 MB / 1.082 GB, free: 42.39 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/1.765, allocations: 275.5 kB / 1.082 GB, free: 42.11 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/1.766, allocations: 129.3 kB / 1.082 GB, free: 41.98 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.775e-05/1.766, allocations: 12.22 kB / 1.082 GB, free: 41.97 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003369/1.766, allocations: 241.1 kB / 1.082 GB, free: 41.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.624e-06/1.766, allocations: 0 / 1.082 GB, free: 41.71 MB / 0.5261 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.008503/1.774, allocations: 2.662 MB / 1.085 GB, free: 38.95 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/1.775, allocations: 162.2 kB / 1.085 GB, free: 38.75 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/1.775, allocations: 334.7 kB / 1.086 GB, free: 38.42 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.824e-05/1.775, allocations: 41.69 kB / 1.086 GB, free: 38.37 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/1.775, allocations: 252 kB / 1.086 GB, free: 38.12 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/1.775, allocations: 157.7 kB / 1.086 GB, free: 37.96 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/1.775, allocations: 12 kB / 1.086 GB, free: 37.95 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.486e-05/1.775, allocations: 358.8 kB / 1.086 GB, free: 37.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/1.776, allocations: 153.5 kB / 1.086 GB, free: 37.44 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/1.776, allocations: 342.5 kB / 1.087 GB, free: 37.03 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003027/1.776, allocations: 231.2 kB / 1.087 GB, free: 36.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/1.776, allocations: 8 kB / 1.087 GB, free: 36.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008927/1.777, allocations: 0.6348 MB / 1.088 GB, free: 36.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/1.777, allocations: 45.72 kB / 1.088 GB, free: 36.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/1.777, allocations: 4 kB / 1.088 GB, free: 36.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000383/1.778, allocations: 104.8 kB / 1.088 GB, free: 35.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005215/1.778, allocations: 155.8 kB / 1.088 GB, free: 35.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004334/1.779, allocations: 0.6732 MB / 1.089 GB, free: 35.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005854/1.779, allocations: 68 kB / 1.089 GB, free: 35.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.616e-05/1.779, allocations: 51.98 kB / 1.089 GB, free: 35.01 MB / 0.5261 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.0001482/1.779, allocations: 140.8 kB / 1.089 GB, free: 34.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.172e-05/1.78, allocations: 47.44 kB / 1.089 GB, free: 34.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/1.781, allocations: 0.6156 MB / 1.09 GB, free: 34.18 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/1.781, allocations: 4 kB / 1.09 GB, free: 34.18 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.781, allocations: 0 / 1.09 GB, free: 34.18 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/1.781, allocations: 7.984 kB / 1.09 GB, free: 34.17 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/1.783, allocations: 1.155 MB / 1.091 GB, free: 32.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/1.783, allocations: 4 kB / 1.091 GB, free: 32.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004451/1.783, allocations: 115.9 kB / 1.091 GB, free: 32.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004991/1.784, allocations: 104.8 kB / 1.091 GB, free: 32.71 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.415e-05/1.784, allocations: 23.92 kB / 1.091 GB, free: 32.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/1.785, allocations: 1.68 MB / 1.093 GB, free: 30.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.785, allocations: 0 / 1.093 GB, free: 30.88 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/1.786, allocations: 0.8495 MB / 1.093 GB, free: 29.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/1.786, allocations: 164.5 kB / 1.094 GB, free: 29.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.766e-05/1.786, allocations: 12 kB / 1.094 GB, free: 29.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000502/1.787, allocations: 59.94 kB / 1.094 GB, free: 29.71 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/1.787, allocations: 63.91 kB / 1.094 GB, free: 29.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.346e-05/1.787, allocations: 32 kB / 1.094 GB, free: 29.62 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002625/1.787, allocations: 261.2 kB / 1.094 GB, free: 29.37 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/1.787, allocations: 0 / 1.094 GB, free: 29.37 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001241/1.789, allocations: 299.8 kB / 1.094 GB, free: 29.07 MB / 0.5261 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.003035/1.792, allocations: 2.424 MB / 1.097 GB, free: 26.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009062/1.793, allocations: 0.4897 MB / 1.097 GB, free: 26.09 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.793, allocations: 4 kB / 1.097 GB, free: 26.08 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000494/1.793, allocations: 342.3 kB / 1.097 GB, free: 25.73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000946/1.794, allocations: 190.3 kB / 1.098 GB, free: 25.55 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/1.796, allocations: 0.9893 MB / 1.099 GB, free: 24.51 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/1.797, allocations: 0.8669 MB / 1.099 GB, free: 23.61 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006804/1.797, allocations: 156.5 kB / 1.1 GB, free: 23.46 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003542/1.798, allocations: 191.4 kB / 1.1 GB, free: 23.27 MB / 0.5261 GB Notification: Performance of SimCode: time 7.71e-07/1.798, allocations: 4 kB / 1.1 GB, free: 23.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3653/2.163, allocations: 28.08 MB / 1.127 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/2.163, allocations: 239.7 kB / 1.127 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.909/5.072, allocations: 2.906 kB / 1.127 GB, free: 138.6 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1)