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.00132/0.00132, 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.001436/0.001436, 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.426/1.426, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2335/0.2335, allocations: 46.93 MB / 361.6 MB, free: 4.211 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.00258/0.00258, allocations: 75.88 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3672, allocations: 66.08 MB / 0.5615 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2008/0.568, allocations: 164 MB / 0.7217 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003661/0.5717, allocations: 1.688 MB / 0.7233 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000543/0.5722, allocations: 15.88 kB / 0.7233 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007352/0.5729, allocations: 218.5 kB / 0.7235 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002368/0.5753, allocations: 0.7947 MB / 0.7243 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001915/0.5772, allocations: 0.6807 MB / 0.725 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001667/0.5789, allocations: 1.169 MB / 0.7261 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004903/0.5794, allocations: 286.1 kB / 0.7264 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009301/0.5803, allocations: 490.3 kB / 0.7269 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006116/0.5809, allocations: 406.3 kB / 0.7273 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.055e-05/0.581, allocations: 44 kB / 0.7273 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.5823, allocations: 0.5929 MB / 0.7279 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.5825, allocations: 151.5 kB / 0.728 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003199/0.5828, allocations: 282.6 kB / 0.7283 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.5843, allocations: 0.9617 MB / 0.7292 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5843, allocations: 0 / 0.7292 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5843, allocations: 3.938 kB / 0.7292 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.5843, allocations: 0 / 0.7292 GB, free: 7.93 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.001844/0.5862, allocations: 0.8456 MB / 0.7301 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.5862, allocations: 15.97 kB / 0.7301 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.5863, allocations: 74.53 kB / 0.7301 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003958/0.5867, allocations: 75.61 kB / 0.7302 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000674/0.5874, allocations: 344.9 kB / 0.7306 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.5875, allocations: 92.33 kB / 0.7306 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.993e-05/0.5876, allocations: 39.95 kB / 0.7307 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.5887, allocations: 0.5244 MB / 0.7312 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.5887, allocations: 0 / 0.7312 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.372e-05/0.5887, allocations: 20 kB / 0.7312 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/0.5888, allocations: 16.66 kB / 0.7312 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009422/0.5897, allocations: 406.1 kB / 0.7316 GB, free: 5.367 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.003508/0.5932, allocations: 2.415 MB / 0.734 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008459/0.5941, allocations: 338.7 kB / 0.7343 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003845/0.5945, allocations: 157.3 kB / 0.7344 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.5945, allocations: 4.281 kB / 0.7344 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006028/0.5951, allocations: 252 kB / 0.7347 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.545e-06/0.5951, allocations: 0 / 0.7347 GB, free: 2.023 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.249/0.8441, allocations: 3.016 MB / 0.7376 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.675e-05/0.8442, allocations: 135.6 kB / 0.7378 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006402/0.8448, allocations: 389.2 kB / 0.7381 GB, free: 176 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.834e-05/0.8449, allocations: 37.84 kB / 0.7382 GB, free: 176 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.8451, allocations: 261.8 kB / 0.7384 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.8452, allocations: 172.1 kB / 0.7386 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/0.8455, allocations: 127.4 kB / 0.7387 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.8456, allocations: 354.5 kB / 0.739 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007079/0.8463, allocations: 221.8 kB / 0.7393 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007086/0.847, allocations: 404.3 kB / 0.7396 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.8482, allocations: 0.6361 MB / 0.7403 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.8482, allocations: 2.25 kB / 0.7403 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001801/0.85, allocations: 0.7882 MB / 0.741 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.95e-05/0.85, allocations: 35.67 kB / 0.7411 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.8501, allocations: 3.938 kB / 0.7411 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004492/0.8505, allocations: 117.6 kB / 0.7412 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005332/0.851, allocations: 140 kB / 0.7413 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004744/0.8515, allocations: 0.6746 MB / 0.742 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005242/0.852, allocations: 52.2 kB / 0.742 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.088e-05/0.8521, allocations: 52.44 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.0002538/0.8523, allocations: 193.6 kB / 0.7423 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.691e-05/0.8524, allocations: 52.25 kB / 0.7423 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/0.8541, allocations: 0.7267 MB / 0.743 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.8542, allocations: 15.16 kB / 0.743 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.8542, allocations: 0 / 0.743 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.8542, allocations: 0 / 0.743 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002134/0.8563, allocations: 1.253 MB / 0.7443 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.8563, allocations: 0 / 0.7443 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004304/0.8567, allocations: 112 kB / 0.7444 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005278/0.8573, allocations: 96.77 kB / 0.7445 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-05/0.8573, allocations: 21.95 kB / 0.7445 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/0.8587, allocations: 1.719 MB / 0.7462 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.8587, allocations: 3.938 kB / 0.7462 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.8607, allocations: 0.9713 MB / 0.7471 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002385/0.8609, allocations: 89.78 kB / 0.7472 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.682e-05/0.861, allocations: 15.98 kB / 0.7472 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000439/0.8614, allocations: 39.7 kB / 0.7472 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.8616, allocations: 67.84 kB / 0.7473 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.765e-05/0.8616, allocations: 35.98 kB / 0.7473 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002415/0.8618, allocations: 275.1 kB / 0.7476 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.8618, allocations: 0 / 0.7476 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007266/0.8626, allocations: 232.7 kB / 0.7478 GB, free: 168.6 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.00262/0.8652, allocations: 1.694 MB / 0.7495 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001366/0.8666, allocations: 0.5937 MB / 0.7501 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.8666, allocations: 0 / 0.7501 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007329/0.8673, allocations: 400.8 kB / 0.7504 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009912/0.8683, allocations: 208.8 kB / 0.7506 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007152/0.8754, allocations: 5.082 MB / 0.7556 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.8757, allocations: 0.8553 MB / 0.7564 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005536/0.8762, allocations: 156.6 kB / 0.7566 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002999/0.8765, allocations: 195.4 kB / 0.7568 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.523e-06/0.8765, allocations: 0 / 0.7568 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04886/0.9254, allocations: 18.72 MB / 0.7751 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/14.2, allocations: 7.922 kB / 0.7751 GB, free: 140.6 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 & /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: 17.069133398123085] 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.30265751015395 14.313484927 13.72661733 Calling exit ...