Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001326/0.001326, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001473/0.001473, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 230.5 MB / 258.2 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2277/0.2277, allocations: 46.94 MB / 361.6 MB, free: 4.215 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 75.88 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3451, allocations: 66.08 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2101/0.5552, allocations: 164 MB / 0.7217 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003544/0.5588, allocations: 1.676 MB / 0.7233 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004137/0.5592, allocations: 15.88 kB / 0.7233 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000707/0.5599, allocations: 214.6 kB / 0.7236 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002102/0.562, allocations: 0.7912 MB / 0.7243 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.5637, allocations: 0.6846 MB / 0.725 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001434/0.5651, allocations: 1.166 MB / 0.7261 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004424/0.5656, allocations: 282.1 kB / 0.7264 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008078/0.5664, allocations: 494.2 kB / 0.7269 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005576/0.567, allocations: 406.3 kB / 0.7273 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.643e-05/0.567, allocations: 44 kB / 0.7273 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.5682, allocations: 0.5968 MB / 0.7279 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.5684, allocations: 151.5 kB / 0.728 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002998/0.5687, allocations: 278.7 kB / 0.7283 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.5701, allocations: 0.9617 MB / 0.7292 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5701, allocations: 0 / 0.7292 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5701, allocations: 3.938 kB / 0.7292 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.5702, allocations: 0 / 0.7292 GB, free: 7.895 MB / 0.5606 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.00183/0.572, allocations: 0.8417 MB / 0.7301 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.572, allocations: 12.03 kB / 0.7301 GB, free: 7 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/0.5721, allocations: 78.52 kB / 0.7301 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000393/0.5725, allocations: 75.61 kB / 0.7302 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006217/0.5732, allocations: 344.9 kB / 0.7305 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.5733, allocations: 92.28 kB / 0.7306 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.759e-05/0.5733, allocations: 47.94 kB / 0.7307 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009781/0.5743, allocations: 0.5205 MB / 0.7312 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.5743, allocations: 0 / 0.7312 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.693e-05/0.5744, allocations: 20 kB / 0.7312 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.84e-05/0.5744, allocations: 12.66 kB / 0.7312 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009709/0.5754, allocations: 402.1 kB / 0.7316 GB, free: 5.34 MB / 0.5606 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.003396/0.5788, allocations: 2.427 MB / 0.734 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008541/0.5796, allocations: 333.5 kB / 0.7343 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000368/0.58, allocations: 153.3 kB / 0.7344 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.195e-05/0.5801, allocations: 8.281 kB / 0.7344 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005733/0.5806, allocations: 256 kB / 0.7347 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.854e-06/0.5806, allocations: 0 / 0.7347 GB, free: 1.984 MB / 0.5606 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.2889/0.8696, allocations: 3.009 MB / 0.7376 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/0.8696, allocations: 142.5 kB / 0.7378 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005919/0.8702, allocations: 381.6 kB / 0.7381 GB, free: 176 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.68e-05/0.8703, allocations: 37.02 kB / 0.7382 GB, free: 176 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.8705, allocations: 266.2 kB / 0.7384 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.8706, allocations: 169.3 kB / 0.7386 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.8708, allocations: 126.4 kB / 0.7387 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.871, allocations: 357.2 kB / 0.739 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007038/0.8717, allocations: 220.8 kB / 0.7392 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006631/0.8723, allocations: 406.2 kB / 0.7396 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.8735, allocations: 0.6337 MB / 0.7403 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.8735, allocations: 1.844 kB / 0.7403 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001776/0.8753, allocations: 0.7917 MB / 0.741 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/0.8753, allocations: 34.27 kB / 0.7411 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.8754, allocations: 5.094 kB / 0.7411 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004371/0.8758, allocations: 121.3 kB / 0.7412 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005179/0.8763, allocations: 136.3 kB / 0.7413 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004703/0.8768, allocations: 0.6689 MB / 0.742 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005022/0.8773, allocations: 49.69 kB / 0.742 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.918e-05/0.8773, allocations: 48.73 kB / 0.7421 GB, free: 173.6 MB / 0.5606 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 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002631/0.8776, allocations: 204.5 kB / 0.7423 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.663e-05/0.8777, allocations: 49.78 kB / 0.7423 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.8794, allocations: 0.7313 MB / 0.743 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.8794, allocations: 14.36 kB / 0.743 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.8794, allocations: 0 / 0.743 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.8794, allocations: 0 / 0.743 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.8815, allocations: 1.25 MB / 0.7443 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.8815, allocations: 0 / 0.7443 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004138/0.8819, allocations: 107.8 kB / 0.7444 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005034/0.8824, allocations: 108.3 kB / 0.7445 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.442e-05/0.8824, allocations: 15.98 kB / 0.7445 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001394/0.8838, allocations: 1.712 MB / 0.7461 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.8838, allocations: 3.938 kB / 0.7461 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.8856, allocations: 0.9752 MB / 0.7471 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002036/0.8858, allocations: 89.78 kB / 0.7472 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.369e-05/0.8859, allocations: 11.98 kB / 0.7472 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004063/0.8863, allocations: 47.95 kB / 0.7472 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.8864, allocations: 59.84 kB / 0.7473 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-05/0.8865, allocations: 39.83 kB / 0.7473 GB, free: 169 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002751/0.8867, allocations: 275.1 kB / 0.7476 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8867, allocations: 0 / 0.7476 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007504/0.8875, allocations: 232.7 kB / 0.7478 GB, free: 168.5 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002573/0.8901, allocations: 1.697 MB / 0.7495 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001373/0.8914, allocations: 0.5892 MB / 0.7501 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.8914, allocations: 4 kB / 0.7501 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007105/0.8922, allocations: 405.5 kB / 0.7504 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009995/0.8932, allocations: 198.4 kB / 0.7506 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007388/0.9005, allocations: 5.086 MB / 0.7556 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.9008, allocations: 0.8631 MB / 0.7564 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005589/0.9014, allocations: 152.6 kB / 0.7566 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003088/0.9017, allocations: 187.4 kB / 0.7568 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/0.9017, allocations: 0 / 0.7568 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0463/0.948, allocations: 18.72 MB / 0.775 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.95, allocations: 24.8 kB / 0.7751 GB, free: 140.5 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000997208 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.863093669060618] Failed to read output from testmodel.py, exit status != 0: ['time', 'springDamper.s_rel', 'springDamper.v_rel', 'sweptVolume.medium.T', 'trapezoid.T_start', 'trapezoid.count'] 14.053796733729541 14.072992165 13.498983722 Calling exit ...