Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 98.77 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001997/0.001997, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.739/1.739, allocations: 205.4 MB / 222.1 MB, free: 5.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4444/0.4444, allocations: 38.03 MB / 308.4 MB, free: 10.55 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006493/0.0006494, allocations: 16 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1693, allocations: 57.52 MB / 433.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4577/0.6271, allocations: 133.1 MB / 0.5537 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007368/0.6345, allocations: 4.966 MB / 0.5586 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008613/0.6354, allocations: 15.94 kB / 0.5586 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006893/0.6361, allocations: 175.9 kB / 0.5588 GB, free: 12.28 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002339/0.6384, allocations: 0.6659 MB / 0.5594 GB, free: 11.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002014/0.6405, allocations: 0.5239 MB / 0.5599 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00116/0.6416, allocations: 0.6633 MB / 0.5606 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004648/0.6421, allocations: 269.4 kB / 0.5608 GB, free: 11.03 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006568/0.6428, allocations: 373.8 kB / 0.5612 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003459/0.6431, allocations: 267.5 kB / 0.5614 GB, free: 10.51 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.017e-05/0.6432, allocations: 24 kB / 0.5615 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.6443, allocations: 420.2 kB / 0.5619 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.6445, allocations: 124.5 kB / 0.562 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.6446, allocations: 117.5 kB / 0.5621 GB, free: 9.922 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007457/0.6454, allocations: 0.6406 MB / 0.5627 GB, free: 9.551 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.6454, allocations: 0 / 0.5627 GB, free: 9.551 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6454, allocations: 0 / 0.5627 GB, free: 9.551 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.6454, allocations: 0 / 0.5627 GB, free: 9.551 MB / 430.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.001653/0.6471, allocations: 0.8182 MB / 0.5635 GB, free: 8.746 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.6471, allocations: 12.02 kB / 0.5635 GB, free: 8.734 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003789/0.6475, allocations: 72.83 kB / 0.5636 GB, free: 8.668 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006181/0.6481, allocations: 382.2 kB / 0.564 GB, free: 8.301 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.341e-05/0.6482, allocations: 59.23 kB / 0.564 GB, free: 8.242 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-05/0.6483, allocations: 36 kB / 0.5641 GB, free: 8.207 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009771/0.6493, allocations: 0.5285 MB / 0.5646 GB, free: 7.672 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.6493, allocations: 7.922 kB / 0.5646 GB, free: 7.664 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.947e-05/0.6494, allocations: 20 kB / 0.5646 GB, free: 7.645 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/0.6494, allocations: 17.28 kB / 0.5646 GB, free: 7.629 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009304/0.6503, allocations: 429.1 kB / 0.565 GB, free: 7.215 MB / 430.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.003219/0.6536, allocations: 2.51 MB / 0.5675 GB, free: 4.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008284/0.6544, allocations: 363.4 kB / 0.5678 GB, free: 4.156 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.42e-05/0.6545, allocations: 12.27 kB / 0.5678 GB, free: 4.145 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005579/0.655, allocations: 272.8 kB / 0.5681 GB, free: 3.855 MB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 1.944e-06/0.6551, allocations: 0 / 0.5681 GB, free: 3.855 MB / 430.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.01233/0.6674, allocations: 3.599 MB / 0.5716 GB, free: 136 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.6675, allocations: 170.2 kB / 0.5718 GB, free: 15.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004669/0.668, allocations: 377.5 kB / 0.5721 GB, free: 15.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.429e-05/0.6681, allocations: 37.7 kB / 0.5722 GB, free: 15.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.6683, allocations: 256 kB / 0.5724 GB, free: 15.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.6685, allocations: 161.7 kB / 0.5726 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.6685, allocations: 12 kB / 0.5726 GB, free: 15.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.6687, allocations: 354.8 kB / 0.5729 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005949/0.6693, allocations: 241.1 kB / 0.5731 GB, free: 14.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007281/0.67, allocations: 433.1 kB / 0.5736 GB, free: 13.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006763/0.6707, allocations: 314.3 kB / 0.5739 GB, free: 13.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.6707, allocations: 7.984 kB / 0.5739 GB, free: 13.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001866/0.6726, allocations: 0.8101 MB / 0.5747 GB, free: 12.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.627e-05/0.6726, allocations: 37.69 kB / 0.5747 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.6727, allocations: 7.938 kB / 0.5747 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000463/0.6731, allocations: 119.2 kB / 0.5748 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005704/0.6737, allocations: 156.2 kB / 0.575 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005924/0.6743, allocations: 0.6694 MB / 0.5756 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005621/0.6749, allocations: 72 kB / 0.5757 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-05/0.675, allocations: 44 kB / 0.5757 GB, free: 11.71 MB / 446.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 ($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.000306/0.6753, allocations: 198.7 kB / 0.5759 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-05/0.6754, allocations: 55.39 kB / 0.576 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002028/0.6774, allocations: 0.7823 MB / 0.5767 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.6774, allocations: 7.953 kB / 0.5767 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.6774, allocations: 0 / 0.5767 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.6775, allocations: 4 kB / 0.5767 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002506/0.68, allocations: 1.319 MB / 0.578 GB, free: 9.254 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.68, allocations: 0 / 0.578 GB, free: 9.254 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00049/0.6805, allocations: 116 kB / 0.5781 GB, free: 9.141 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005597/0.6811, allocations: 116.6 kB / 0.5783 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.172e-05/0.6811, allocations: 16 kB / 0.5783 GB, free: 9.008 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/0.6829, allocations: 1.721 MB / 0.58 GB, free: 7.156 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.683, allocations: 4.031 kB / 0.58 GB, free: 7.152 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002298/0.6853, allocations: 1.095 MB / 0.581 GB, free: 5.992 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/0.6855, allocations: 165.4 kB / 0.5812 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.114e-05/0.6856, allocations: 16.08 kB / 0.5812 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004817/0.6861, allocations: 59.95 kB / 0.5813 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.6863, allocations: 67.84 kB / 0.5813 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.535e-05/0.6863, allocations: 35.98 kB / 0.5814 GB, free: 5.637 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003135/0.6866, allocations: 267.1 kB / 0.5816 GB, free: 5.379 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6867, allocations: 0 / 0.5816 GB, free: 5.379 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008992/0.6876, allocations: 239.9 kB / 0.5818 GB, free: 5.145 MB / 446.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 (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.000794/0.6884, allocations: 313.4 kB / 0.5821 GB, free: 4.844 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00158/0.69, allocations: 0.6446 MB / 0.5828 GB, free: 4.188 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.69, allocations: 4 kB / 0.5828 GB, free: 4.184 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008574/0.6908, allocations: 438.3 kB / 0.5832 GB, free: 3.746 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009359/0.6918, allocations: 190.1 kB / 0.5834 GB, free: 3.562 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.6939, allocations: 1.386 MB / 0.5847 GB, free: 2.141 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/0.6944, allocations: 0.8669 MB / 0.5856 GB, free: 1.246 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006553/0.6951, allocations: 148.5 kB / 0.5857 GB, free: 1.098 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/0.6953, allocations: 75.41 kB / 0.5858 GB, free: 1.027 MB / 446.1 MB Notification: Performance of SimCode: time 5.2e-07/0.6953, allocations: 0 / 0.5858 GB, free: 1.027 MB / 446.1 MB Notification: Performance of Templates: time 0.0267/0.722, allocations: 12.52 MB / 0.598 GB, free: 4.543 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) Environment - environmentSimulation: