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.00186/0.00186, allocations: 177 kB / 17.06 MB, free: 5.094 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.591/1.591, allocations: 223.2 MB / 241 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 92.98 kB / 292.1 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4576/0.4576, allocations: 44.21 MB / 387.4 MB, free: 38.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003591, allocations: 8 kB / 460 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4368/0.4371, allocations: 61.9 MB / 0.5096 GB, free: 37.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.287/1.724, allocations: 489.3 MB / 0.9874 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/1.725, allocations: 93 kB / 0.9875 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1983/1.923, allocations: 100.2 MB / 1.085 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.362e-06/1.923, allocations: 4 kB / 1.085 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.353e-05/1.923, allocations: 15.98 kB / 1.085 GB, free: 11.34 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.001688/1.925, allocations: 0.876 MB / 1.086 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/1.925, allocations: 8.562 kB / 1.086 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.929e-05/1.925, allocations: 78.53 kB / 1.086 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000379/1.925, allocations: 75.33 kB / 1.086 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005975/1.926, allocations: 414.4 kB / 1.087 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.505e-05/1.926, allocations: 54.7 kB / 1.087 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.196e-05/1.926, allocations: 39.98 kB / 1.087 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008202/1.927, allocations: 0.5339 MB / 1.087 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/1.927, allocations: 4 kB / 1.087 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.928e-05/1.927, allocations: 20 kB / 1.087 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/1.927, allocations: 12.66 kB / 1.087 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007832/1.928, allocations: 422.2 kB / 1.088 GB, free: 8.668 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.002552/1.93, allocations: 2.437 MB / 1.09 GB, free: 6.062 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006852/1.931, allocations: 359.5 kB / 1.091 GB, free: 5.703 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-05/1.931, allocations: 4.281 kB / 1.091 GB, free: 5.699 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004688/1.932, allocations: 285.6 kB / 1.091 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.134e-06/1.932, allocations: 0 / 1.091 GB, free: 5.398 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.01137/1.943, allocations: 3.631 MB / 1.094 GB, free: 1.629 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/1.943, allocations: 162.2 kB / 1.095 GB, free: 1.434 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/1.943, allocations: 340.7 kB / 1.095 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/1.944, allocations: 37.7 kB / 1.095 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/1.944, allocations: 251.9 kB / 1.095 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.844e-05/1.944, allocations: 157.8 kB / 1.095 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/1.944, allocations: 12 kB / 1.095 GB, free: 0.6328 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.284e-05/1.944, allocations: 366.7 kB / 1.096 GB, free: 272 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005163/1.944, allocations: 241.1 kB / 1.096 GB, free: 32 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3593/2.304, allocations: 421.1 kB / 1.096 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008558/2.305, allocations: 313.5 kB / 1.097 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/2.305, allocations: 5.766 kB / 1.097 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002057/2.307, allocations: 0.8058 MB / 1.097 GB, free: 131 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.884e-05/2.307, allocations: 33.55 kB / 1.097 GB, free: 131 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/2.307, allocations: 6.312 kB / 1.097 GB, free: 131 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005204/2.307, allocations: 117.8 kB / 1.098 GB, free: 131 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005548/2.308, allocations: 145.8 kB / 1.098 GB, free: 131 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005089/2.308, allocations: 0.6699 MB / 1.098 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006662/2.309, allocations: 69.69 kB / 1.098 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.139e-05/2.309, allocations: 49.17 kB / 1.098 GB, free: 130.5 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 () * Number of clocked 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.0004032/2.31, allocations: 198.2 kB / 1.099 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.407e-05/2.31, allocations: 54.53 kB / 1.099 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/2.312, allocations: 0.7767 MB / 1.099 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/2.312, allocations: 7.609 kB / 1.099 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/2.312, allocations: 5.438 kB / 1.099 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/2.312, allocations: 4.844 kB / 1.099 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002639/2.314, allocations: 1.314 MB / 1.101 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/2.314, allocations: 2.781 kB / 1.101 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004673/2.315, allocations: 116.2 kB / 1.101 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005982/2.315, allocations: 104.9 kB / 1.101 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.623e-05/2.315, allocations: 24.03 kB / 1.101 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/2.317, allocations: 1.718 MB / 1.103 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/2.317, allocations: 2.938 kB / 1.103 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/2.319, allocations: 1.094 MB / 1.104 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002835/2.32, allocations: 162 kB / 1.104 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.923e-05/2.32, allocations: 15.84 kB / 1.104 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000505/2.32, allocations: 60.84 kB / 1.104 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/2.32, allocations: 64.55 kB / 1.104 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.598e-05/2.32, allocations: 35.06 kB / 1.104 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003327/2.321, allocations: 272.7 kB / 1.104 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.21e-07/2.321, allocations: 0 / 1.104 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001297/2.322, allocations: 289.6 kB / 1.105 GB, free: 128.2 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) * Number of clocked states: 0 () * 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.004257/2.326, allocations: 2.68 MB / 1.107 GB, free: 127 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001571/2.328, allocations: 0.6474 MB / 1.108 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/2.328, allocations: 2.75 kB / 1.108 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008649/2.329, allocations: 432.8 kB / 1.108 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009722/2.33, allocations: 187.3 kB / 1.108 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006464/2.336, allocations: 6.604 MB / 1.115 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/2.337, allocations: 0.8647 MB / 1.116 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008155/2.338, allocations: 150.7 kB / 1.116 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003919/2.338, allocations: 194.8 kB / 1.116 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.593e-06/2.338, allocations: 0 / 1.116 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06609/2.404, allocations: 26.19 MB / 1.142 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/2.404, allocations: 272.3 kB / 1.142 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.113/5.518, allocations: 4 kB / 1.142 GB, free: 120.5 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)