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.001744/0.001744, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.002048/0.002048, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.456/1.456, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2271/0.2271, allocations: 46.88 MB / 357.4 MB, free: 10.52 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.003729/0.003729, allocations: 83.86 kB / 0.4912 GB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1518, allocations: 65.98 MB / 0.5557 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4733/0.6251, allocations: 163.9 MB / 0.7157 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003505/0.6286, allocations: 1.676 MB / 0.7173 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004657/0.6291, allocations: 11.94 kB / 0.7174 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006826/0.6298, allocations: 210.6 kB / 0.7176 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002157/0.6319, allocations: 0.8 MB / 0.7183 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001755/0.6337, allocations: 0.6725 MB / 0.719 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001487/0.6352, allocations: 1.158 MB / 0.7201 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004639/0.6356, allocations: 298.5 kB / 0.7204 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008006/0.6364, allocations: 485 kB / 0.7209 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005175/0.6369, allocations: 398.4 kB / 0.7213 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.018e-05/0.637, allocations: 44 kB / 0.7213 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.6382, allocations: 0.589 MB / 0.7219 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001817/0.6384, allocations: 155.5 kB / 0.722 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002942/0.6387, allocations: 278.6 kB / 0.7223 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.6401, allocations: 0.9695 MB / 0.7232 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.6401, allocations: 0 / 0.7232 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.216e-06/0.6401, allocations: 4 kB / 0.7232 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.383e-05/0.6401, allocations: 0 / 0.7232 GB, free: 6.375 MB / 0.5294 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.001888/0.642, allocations: 0.9169 MB / 0.7241 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.642, allocations: 8.031 kB / 0.7241 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001035/0.6421, allocations: 78.52 kB / 0.7242 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003969/0.6425, allocations: 75.61 kB / 0.7243 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007233/0.6433, allocations: 414.7 kB / 0.7247 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-05/0.6434, allocations: 62.69 kB / 0.7247 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.372e-05/0.6434, allocations: 39.89 kB / 0.7248 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.6445, allocations: 0.5283 MB / 0.7253 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.6445, allocations: 3.938 kB / 0.7253 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.936e-05/0.6445, allocations: 19.94 kB / 0.7253 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.211e-05/0.6446, allocations: 16.66 kB / 0.7253 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009325/0.6455, allocations: 398.2 kB / 0.7257 GB, free: 3.68 MB / 0.5294 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.003535/0.649, allocations: 2.462 MB / 0.7281 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000878/0.6499, allocations: 327.4 kB / 0.7284 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003833/0.6503, allocations: 165.2 kB / 0.7286 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-05/0.6503, allocations: 4.281 kB / 0.7286 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005896/0.6509, allocations: 272.8 kB / 0.7289 GB, free: 260 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 1.974e-06/0.6509, allocations: 0 / 0.7289 GB, free: 260 kB / 0.5294 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.01257/0.6635, allocations: 3.251 MB / 0.732 GB, free: 12.87 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001852/0.6637, allocations: 174.2 kB / 0.7322 GB, free: 12.66 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005459/0.6642, allocations: 381.5 kB / 0.7326 GB, free: 12.29 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.657e-05/0.6643, allocations: 37.7 kB / 0.7326 GB, free: 12.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/0.6645, allocations: 264.5 kB / 0.7328 GB, free: 11.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.6647, allocations: 162.6 kB / 0.733 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.6649, allocations: 126.3 kB / 0.7331 GB, free: 11.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.665, allocations: 358.8 kB / 0.7335 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006063/0.6657, allocations: 217.2 kB / 0.7337 GB, free: 11.12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007316/0.6664, allocations: 409.1 kB / 0.7341 GB, free: 10.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.6677, allocations: 0.6433 MB / 0.7347 GB, free: 9.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.6677, allocations: 4 kB / 0.7347 GB, free: 9.926 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002021/0.6697, allocations: 0.7945 MB / 0.7355 GB, free: 9.117 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.788e-05/0.6698, allocations: 33.7 kB / 0.7355 GB, free: 9.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.6698, allocations: 4 kB / 0.7355 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004484/0.6702, allocations: 114.4 kB / 0.7356 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005675/0.6708, allocations: 140.2 kB / 0.7357 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006467/0.6714, allocations: 0.6733 MB / 0.7364 GB, free: 8.125 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005285/0.672, allocations: 47.95 kB / 0.7365 GB, free: 8.078 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.288e-05/0.672, allocations: 47.98 kB / 0.7365 GB, free: 8.031 MB / 0.545 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.0003135/0.6723, allocations: 197.7 kB / 0.7367 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.754e-05/0.6724, allocations: 55.66 kB / 0.7367 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002015/0.6745, allocations: 0.7251 MB / 0.7374 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.6745, allocations: 15.98 kB / 0.7375 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.6745, allocations: 0 / 0.7375 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.6745, allocations: 7.922 kB / 0.7375 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002693/0.6772, allocations: 1.277 MB / 0.7387 GB, free: 5.656 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.6772, allocations: 0 / 0.7387 GB, free: 5.656 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005014/0.6777, allocations: 108 kB / 0.7388 GB, free: 5.551 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005712/0.6783, allocations: 100.7 kB / 0.7389 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.362e-05/0.6783, allocations: 15.98 kB / 0.7389 GB, free: 5.434 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/0.6804, allocations: 1.821 MB / 0.7407 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.6804, allocations: 0 / 0.7407 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002441/0.6828, allocations: 0.9799 MB / 0.7417 GB, free: 2.457 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003851/0.6832, allocations: 168.8 kB / 0.7418 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.473e-05/0.6833, allocations: 8 kB / 0.7418 GB, free: 2.266 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004777/0.6838, allocations: 43.95 kB / 0.7419 GB, free: 2.223 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.6839, allocations: 59.92 kB / 0.7419 GB, free: 2.164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.534e-05/0.684, allocations: 35.98 kB / 0.742 GB, free: 2.129 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003298/0.6843, allocations: 275.1 kB / 0.7422 GB, free: 1.867 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6843, allocations: 0 / 0.7422 GB, free: 1.867 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008393/0.6852, allocations: 235.7 kB / 0.7425 GB, free: 1.637 MB / 0.545 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.003479/0.6886, allocations: 1.716 MB / 0.7441 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001663/0.6903, allocations: 0.5837 MB / 0.7447 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.6903, allocations: 0 / 0.7447 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009757/0.6913, allocations: 410.3 kB / 0.7451 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.6925, allocations: 207.1 kB / 0.7453 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009453/0.7019, allocations: 5.08 MB / 0.7503 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/0.7025, allocations: 0.8553 MB / 0.7511 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005984/0.7031, allocations: 156.6 kB / 0.7512 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003502/0.7034, allocations: 191.4 kB / 0.7514 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of SimCode: time 8.31e-07/0.7034, allocations: 0 / 0.7514 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05677/0.7602, allocations: 18.5 MB / 0.7695 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/13.99, allocations: 8 kB / 0.7695 GB, free: 5.832 MB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume_fmu --startTime=0 --stopTime=5 --stepSize=0.000997208 --timeout=50 --tolerance=1e-06 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.91249690996483] 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.092923745047301 14.107038873 13.463867503 Calling exit ...