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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001681/0.001681, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001993/0.001993, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2381/0.2381, allocations: 46.12 MB / 344.2 MB, free: 11.6 MB / 286.1 MB 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.002275/0.002275, allocations: 82.31 kB / 417.8 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1342, allocations: 62.44 MB / 480.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4379/0.5721, allocations: 163.4 MB / 0.6285 GB, free: 15.79 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003397/0.5756, allocations: 1.672 MB / 0.6301 GB, free: 14.12 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004212/0.576, allocations: 15.88 kB / 0.6302 GB, free: 14.11 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007017/0.5768, allocations: 214.6 kB / 0.6304 GB, free: 13.89 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002046/0.5788, allocations: 0.7727 MB / 0.6311 GB, free: 13.12 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.5805, allocations: 0.6713 MB / 0.6318 GB, free: 12.46 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001518/0.5821, allocations: 1.158 MB / 0.6329 GB, free: 11.3 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006093/0.5827, allocations: 329.9 kB / 0.6332 GB, free: 10.97 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009689/0.5837, allocations: 466.3 kB / 0.6337 GB, free: 10.52 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005288/0.5842, allocations: 382.5 kB / 0.634 GB, free: 10.14 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.193e-05/0.5843, allocations: 48 kB / 0.6341 GB, free: 10.09 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.5856, allocations: 0.5257 MB / 0.6346 GB, free: 9.57 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.5858, allocations: 155.5 kB / 0.6347 GB, free: 9.418 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003208/0.5861, allocations: 270.8 kB / 0.635 GB, free: 9.152 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.5875, allocations: 0.9544 MB / 0.6359 GB, free: 8.195 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5875, allocations: 7.938 kB / 0.6359 GB, free: 8.188 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.5875, allocations: 0 / 0.6359 GB, free: 8.188 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.5875, allocations: 0 / 0.6359 GB, free: 8.188 MB / 478.1 MB 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.001774/0.5893, allocations: 0.905 MB / 0.6368 GB, free: 7.23 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.5893, allocations: 12.03 kB / 0.6368 GB, free: 7.219 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.749e-05/0.5894, allocations: 74.53 kB / 0.6369 GB, free: 7.137 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003945/0.5898, allocations: 79.31 kB / 0.637 GB, free: 7.059 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005878/0.5904, allocations: 386.4 kB / 0.6373 GB, free: 6.637 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.5905, allocations: 62.69 kB / 0.6374 GB, free: 6.57 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.733e-05/0.5906, allocations: 39.94 kB / 0.6374 GB, free: 6.531 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.5917, allocations: 0.5283 MB / 0.638 GB, free: 5.965 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.5917, allocations: 0 / 0.638 GB, free: 5.965 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.383e-05/0.5917, allocations: 20 kB / 0.638 GB, free: 5.945 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.158e-05/0.5918, allocations: 16.66 kB / 0.638 GB, free: 5.93 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009418/0.5927, allocations: 402.1 kB / 0.6384 GB, free: 5.535 MB / 478.1 MB 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.003426/0.5962, allocations: 2.474 MB / 0.6408 GB, free: 2.883 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008514/0.597, allocations: 340.6 kB / 0.6411 GB, free: 2.543 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004013/0.5974, allocations: 161.2 kB / 0.6413 GB, free: 2.383 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.5975, allocations: 12.28 kB / 0.6413 GB, free: 2.371 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005832/0.5981, allocations: 268.7 kB / 0.6415 GB, free: 2.086 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 2.264e-06/0.5981, allocations: 0 / 0.6415 GB, free: 2.086 MB / 478.1 MB 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.01286/0.611, allocations: 3.255 MB / 0.6447 GB, free: 14.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.6111, allocations: 166.1 kB / 0.6449 GB, free: 14.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005006/0.6116, allocations: 389.5 kB / 0.6452 GB, free: 14.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.02e-05/0.6117, allocations: 37.7 kB / 0.6453 GB, free: 14.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.6119, allocations: 255.9 kB / 0.6455 GB, free: 13.81 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.6121, allocations: 161.7 kB / 0.6457 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.6123, allocations: 122.2 kB / 0.6458 GB, free: 13.53 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.6125, allocations: 358.8 kB / 0.6461 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006459/0.6132, allocations: 221.1 kB / 0.6464 GB, free: 12.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008329/0.614, allocations: 405.1 kB / 0.6467 GB, free: 12.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.6155, allocations: 0.6433 MB / 0.6474 GB, free: 11.76 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.6155, allocations: 0 / 0.6474 GB, free: 11.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002157/0.6177, allocations: 0.7944 MB / 0.6481 GB, free: 10.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.561e-05/0.6177, allocations: 40.2 kB / 0.6482 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.6178, allocations: 4 kB / 0.6482 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004883/0.6183, allocations: 112.8 kB / 0.6483 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006052/0.6189, allocations: 144.1 kB / 0.6484 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007577/0.6196, allocations: 0.6655 MB / 0.6491 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005761/0.6202, allocations: 55.94 kB / 0.6491 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.418e-05/0.6203, allocations: 40.06 kB / 0.6492 GB, free: 9.863 MB / 494.1 MB 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.0003699/0.6207, allocations: 205.6 kB / 0.6494 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.6208, allocations: 47.44 kB / 0.6494 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/0.623, allocations: 0.7367 MB / 0.6501 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.623, allocations: 7.938 kB / 0.6501 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.623, allocations: 0 / 0.6501 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.623, allocations: 3.938 kB / 0.6501 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002843/0.6259, allocations: 1.28 MB / 0.6514 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.6259, allocations: 0 / 0.6514 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005439/0.6264, allocations: 107.9 kB / 0.6515 GB, free: 7.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005843/0.627, allocations: 112.9 kB / 0.6516 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.42e-05/0.6271, allocations: 16 kB / 0.6516 GB, free: 7.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00234/0.6294, allocations: 1.817 MB / 0.6534 GB, free: 5.293 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6295, allocations: 4.031 kB / 0.6534 GB, free: 5.289 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002424/0.6319, allocations: 0.9737 MB / 0.6543 GB, free: 4.277 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/0.6322, allocations: 164.5 kB / 0.6545 GB, free: 4.098 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.61e-05/0.6323, allocations: 15.91 kB / 0.6545 GB, free: 4.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004567/0.6328, allocations: 43.94 kB / 0.6546 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.6329, allocations: 63.86 kB / 0.6546 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.535e-05/0.633, allocations: 28 kB / 0.6546 GB, free: 3.949 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003541/0.6334, allocations: 279.1 kB / 0.6549 GB, free: 3.684 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6334, allocations: 0 / 0.6549 GB, free: 3.684 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000867/0.6342, allocations: 239.8 kB / 0.6551 GB, free: 3.449 MB / 494.1 MB 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.003506/0.6377, allocations: 1.71 MB / 0.6568 GB, free: 1.707 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.6396, allocations: 0.6266 MB / 0.6574 GB, free: 1.066 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.6396, allocations: 4 kB / 0.6574 GB, free: 1.062 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009219/0.6406, allocations: 414.7 kB / 0.6578 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.6418, allocations: 204.1 kB / 0.658 GB, free: 456 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.6521, allocations: 5.139 MB / 0.663 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007975/0.6529, allocations: 0.8592 MB / 0.6639 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008465/0.6538, allocations: 148.6 kB / 0.664 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004688/0.6543, allocations: 191.4 kB / 0.6642 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of SimCode: time 3.326e-06/0.6543, allocations: 4 kB / 0.6642 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05638/0.7107, allocations: 18.2 MB / 0.682 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.81, allocations: 15.28 kB / 0.682 GB, free: 7.852 MB / 0.5137 GB (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 --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)