Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.0009873/0.000987, allocations: 99.86 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.0009395/0.0009396, 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.273/1.273, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2888/0.2888, allocations: 39.99 MB / 310.4 MB, free: 9.926 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.2. 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.0005187/0.0005189, allocations: 24 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1012, allocations: 57.96 MB / 436.8 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2849/0.3862, allocations: 133.1 MB / 0.5565 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006717/0.3929, allocations: 4.966 MB / 0.5614 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006283/0.3936, allocations: 15.88 kB / 0.5614 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005916/0.3942, allocations: 172.3 kB / 0.5615 GB, free: 8.805 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.3961, allocations: 0.6668 MB / 0.5622 GB, free: 8.262 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.3975, allocations: 0.5283 MB / 0.5627 GB, free: 7.852 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009638/0.3985, allocations: 0.6607 MB / 0.5634 GB, free: 7.285 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004949/0.399, allocations: 271.9 kB / 0.5636 GB, free: 7.098 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006792/0.3997, allocations: 378.5 kB / 0.564 GB, free: 6.781 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003255/0.4, allocations: 257.5 kB / 0.5642 GB, free: 6.578 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.831e-05/0.4001, allocations: 24 kB / 0.5642 GB, free: 6.555 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009044/0.401, allocations: 424.6 kB / 0.5646 GB, free: 6.199 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.4011, allocations: 125.3 kB / 0.5648 GB, free: 6.082 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.4013, allocations: 117.5 kB / 0.5649 GB, free: 5.961 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007389/0.402, allocations: 0.641 MB / 0.5655 GB, free: 5.328 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.402, allocations: 0 / 0.5655 GB, free: 5.328 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.402, allocations: 0 / 0.5655 GB, free: 5.328 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.402, allocations: 3.938 kB / 0.5655 GB, free: 5.324 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.001412/0.4035, allocations: 0.8103 MB / 0.5663 GB, free: 4.457 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.4035, allocations: 20.02 kB / 0.5663 GB, free: 4.438 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000338/0.4039, allocations: 63.42 kB / 0.5664 GB, free: 4.375 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005277/0.4044, allocations: 382.6 kB / 0.5667 GB, free: 3.961 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.456e-05/0.4045, allocations: 60.42 kB / 0.5668 GB, free: 3.898 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.324e-05/0.4045, allocations: 43.84 kB / 0.5668 GB, free: 3.855 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008847/0.4054, allocations: 0.5244 MB / 0.5674 GB, free: 3.285 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.4055, allocations: 8 kB / 0.5674 GB, free: 3.277 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.725e-05/0.4055, allocations: 16.52 kB / 0.5674 GB, free: 3.262 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.4056, allocations: 16.66 kB / 0.5674 GB, free: 3.246 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008364/0.4064, allocations: 430.1 kB / 0.5678 GB, free: 2.828 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.002863/0.4093, allocations: 2.514 MB / 0.5703 GB, free: 136 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007634/0.41, allocations: 359.4 kB / 0.5706 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.4101, allocations: 4.281 kB / 0.5706 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000517/0.4106, allocations: 284.7 kB / 0.5709 GB, free: 15.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 4.077e-06/0.4106, allocations: 4 kB / 0.5709 GB, free: 15.46 MB / 446.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.01159/0.4222, allocations: 3.582 MB / 0.5744 GB, free: 11.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.4223, allocations: 162.2 kB / 0.5745 GB, free: 11.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003861/0.4227, allocations: 385.5 kB / 0.5749 GB, free: 11.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/0.4228, allocations: 45.64 kB / 0.5749 GB, free: 11.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.423, allocations: 252 kB / 0.5752 GB, free: 10.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.4231, allocations: 165.6 kB / 0.5753 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.4231, allocations: 12 kB / 0.5754 GB, free: 10.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.4233, allocations: 358.8 kB / 0.5757 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005996/0.4239, allocations: 241.1 kB / 0.5759 GB, free: 10.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006787/0.4246, allocations: 433.1 kB / 0.5763 GB, free: 9.602 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006494/0.4252, allocations: 314.3 kB / 0.5766 GB, free: 9.289 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4252, allocations: 0 / 0.5766 GB, free: 9.289 MB / 446.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001697/0.4269, allocations: 0.8144 MB / 0.5774 GB, free: 8.457 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.107e-05/0.427, allocations: 41.66 kB / 0.5775 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.427, allocations: 11.69 kB / 0.5775 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004187/0.4274, allocations: 116.8 kB / 0.5776 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00053/0.428, allocations: 151.8 kB / 0.5777 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005222/0.4285, allocations: 0.6639 MB / 0.5784 GB, free: 7.449 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005111/0.429, allocations: 72 kB / 0.5785 GB, free: 7.379 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.359e-05/0.4291, allocations: 43.98 kB / 0.5785 GB, free: 7.336 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.0002503/0.4294, allocations: 197.7 kB / 0.5787 GB, free: 7.133 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.059e-05/0.4294, allocations: 47.44 kB / 0.5787 GB, free: 7.086 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/0.4313, allocations: 0.7835 MB / 0.5795 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.4314, allocations: 12 kB / 0.5795 GB, free: 6.277 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4314, allocations: 0 / 0.5795 GB, free: 6.277 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.4314, allocations: 7.922 kB / 0.5795 GB, free: 6.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/0.4337, allocations: 1.315 MB / 0.5808 GB, free: 4.879 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.4338, allocations: 7.125 kB / 0.5808 GB, free: 4.875 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004653/0.4342, allocations: 120 kB / 0.5809 GB, free: 4.758 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005329/0.4348, allocations: 104.8 kB / 0.581 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/0.4348, allocations: 15.98 kB / 0.581 GB, free: 4.637 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/0.4365, allocations: 1.728 MB / 0.5827 GB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4365, allocations: 4.062 kB / 0.5827 GB, free: 2.773 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/0.4386, allocations: 1.088 MB / 0.5838 GB, free: 1.621 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/0.4389, allocations: 160.5 kB / 0.5839 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.606e-05/0.4389, allocations: 12 kB / 0.584 GB, free: 1.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000489/0.4394, allocations: 67.84 kB / 0.584 GB, free: 1.367 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.4396, allocations: 67.8 kB / 0.5841 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.251e-05/0.4396, allocations: 36 kB / 0.5841 GB, free: 1.266 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002668/0.4399, allocations: 267.1 kB / 0.5844 GB, free: 1.008 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4399, allocations: 4 kB / 0.5844 GB, free: 1.004 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000722/0.4407, allocations: 235.9 kB / 0.5846 GB, free: 0.7734 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.0006934/0.4414, allocations: 320.3 kB / 0.5849 GB, free: 476 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.4428, allocations: 0.6569 MB / 0.5856 GB, free: 15.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4428, allocations: 0 / 0.5856 GB, free: 15.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007951/0.4436, allocations: 438.4 kB / 0.586 GB, free: 15.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008462/0.4445, allocations: 181.3 kB / 0.5861 GB, free: 15.18 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.4463, allocations: 1.381 MB / 0.5875 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.4467, allocations: 0.867 MB / 0.5883 GB, free: 12.87 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005928/0.4473, allocations: 156.5 kB / 0.5885 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.4475, allocations: 67.42 kB / 0.5886 GB, free: 12.65 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4475, allocations: 0 / 0.5886 GB, free: 12.65 MB / 462.1 MB Notification: Performance of Templates: time 0.0185/0.466, allocations: 12.53 MB / 0.6008 GB, free: 172 kB / 462.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) Environment - environmentSimulation: