Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003995/0.003994, allocations: 354.6 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.512/3.512, allocations: 341.5 MB / 358.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003543/0.003543, allocations: 221.2 kB / 397.9 MB, free: 4.898 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4907/0.4907, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006471/0.0006474, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09011/0.09079, allocations: 48.71 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4825/0.5734, allocations: 148.4 MB / 0.7517 GB, free: 12.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009223/0.5827, allocations: 3.799 MB / 0.7554 GB, free: 8.531 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.5839, allocations: 15.88 kB / 0.7554 GB, free: 8.516 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.5852, allocations: 163 kB / 0.7556 GB, free: 8.355 MB / 410.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005615/0.5909, allocations: 0.7184 MB / 0.7563 GB, free: 7.637 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003941/0.5949, allocations: 0.5373 MB / 0.7568 GB, free: 7.109 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002918/0.5978, allocations: 1.326 MB / 0.7581 GB, free: 5.781 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007652/0.5987, allocations: 265.2 kB / 0.7584 GB, free: 5.527 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.6, allocations: 390.4 kB / 0.7587 GB, free: 5.145 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009651/0.601, allocations: 365 kB / 0.7591 GB, free: 4.789 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001538/0.6012, allocations: 28 kB / 0.7591 GB, free: 4.762 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001912/0.6031, allocations: 435.2 kB / 0.7595 GB, free: 4.336 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002769/0.6035, allocations: 131.6 kB / 0.7597 GB, free: 4.207 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002935/0.6038, allocations: 117.5 kB / 0.7598 GB, free: 4.086 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.6055, allocations: 0.6509 MB / 0.7604 GB, free: 3.434 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.6055, allocations: 0 / 0.7604 GB, free: 3.434 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6056, allocations: 0 / 0.7604 GB, free: 3.434 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.6056, allocations: 0 / 0.7604 GB, free: 3.434 MB / 410.7 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.002484/0.6081, allocations: 0.8289 MB / 0.7612 GB, free: 2.551 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.6081, allocations: 8.031 kB / 0.7612 GB, free: 2.543 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005575/0.6087, allocations: 71.38 kB / 0.7613 GB, free: 2.473 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009075/0.6096, allocations: 382.6 kB / 0.7617 GB, free: 2.059 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/0.6098, allocations: 62.69 kB / 0.7617 GB, free: 1.988 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.6099, allocations: 39.91 kB / 0.7617 GB, free: 1.949 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.6115, allocations: 0.5244 MB / 0.7623 GB, free: 1.391 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/0.6116, allocations: 7.938 kB / 0.7623 GB, free: 1.383 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.964e-05/0.6117, allocations: 19.42 kB / 0.7623 GB, free: 1.367 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.696e-05/0.6117, allocations: 16.64 kB / 0.7623 GB, free: 1.352 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/0.6134, allocations: 430.2 kB / 0.7627 GB, free: 0.9297 MB / 410.7 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.3031/0.9166, allocations: 2.491 MB / 0.7651 GB, free: 135.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.9181, allocations: 363.2 kB / 0.7655 GB, free: 135.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007061/0.9188, allocations: 177.2 kB / 0.7657 GB, free: 135.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.207e-05/0.9189, allocations: 6.297 kB / 0.7657 GB, free: 135.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008891/0.9198, allocations: 275.4 kB / 0.7659 GB, free: 135.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 3.918e-06/0.9198, allocations: 2.781 kB / 0.7659 GB, free: 135.2 MB / 410.7 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.02256/0.9424, allocations: 3.598 MB / 0.7694 GB, free: 134.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.9425, allocations: 139.1 kB / 0.7696 GB, free: 134.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006099/0.9431, allocations: 372.2 kB / 0.7699 GB, free: 134.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.9432, allocations: 34.02 kB / 0.77 GB, free: 134.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.9435, allocations: 257.9 kB / 0.7702 GB, free: 134.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.9436, allocations: 172 kB / 0.7704 GB, free: 133.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/0.9437, allocations: 10.88 kB / 0.7704 GB, free: 133.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.9438, allocations: 357.6 kB / 0.7707 GB, free: 133.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.9449, allocations: 244 kB / 0.771 GB, free: 133.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/0.9462, allocations: 434.5 kB / 0.7714 GB, free: 133.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.9475, allocations: 326.7 kB / 0.7717 GB, free: 133.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.9475, allocations: 1.125 kB / 0.7717 GB, free: 133.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003358/0.9509, allocations: 0.8264 MB / 0.7725 GB, free: 133.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.519e-05/0.951, allocations: 35.67 kB / 0.7725 GB, free: 133.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.951, allocations: 4.812 kB / 0.7725 GB, free: 133.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007371/0.9518, allocations: 120.2 kB / 0.7726 GB, free: 133.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.9529, allocations: 152.1 kB / 0.7728 GB, free: 133.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000847/0.9538, allocations: 0.6763 MB / 0.7735 GB, free: 132.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.9548, allocations: 68.41 kB / 0.7735 GB, free: 132.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.955, allocations: 47.05 kB / 0.7736 GB, free: 132.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (67): * Single equations (assignments): 65 * 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.0004117/0.9554, allocations: 199.5 kB / 0.7738 GB, free: 132.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.9555, allocations: 46.94 kB / 0.7738 GB, free: 132.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003537/0.9591, allocations: 0.7861 MB / 0.7746 GB, free: 132.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/0.9591, allocations: 2.344 kB / 0.7746 GB, free: 132.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.9592, allocations: 0 / 0.7746 GB, free: 132.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004108/0.9596, allocations: 161.7 kB / 0.7747 GB, free: 132.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.9597, allocations: 12.2 kB / 0.7747 GB, free: 132.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007945/0.9605, allocations: 61.2 kB / 0.7748 GB, free: 132.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002556/0.9608, allocations: 65.34 kB / 0.7749 GB, free: 132.1 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003724/0.9646, allocations: 0.7668 MB / 0.7756 GB, free: 131.9 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003691/0.9683, allocations: 1.026 MB / 0.7766 GB, free: 131.4 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001134/0.9695, allocations: 256 kB / 0.7768 GB, free: 131.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005123/0.97, allocations: 258.8 kB / 0.7771 GB, free: 131.2 MB / 410.7 MB Notification: Performance of Backend: time 1.423e-06/0.9701, allocations: 2.5 kB / 0.7771 GB, free: 131.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003749/0.9738, allocations: 0.7552 MB / 0.7778 GB, free: 130.9 MB / 410.7 MB Notification: Performance of SimCode: time 0.003552/0.9774, allocations: 1.866 MB / 0.7797 GB, free: 129.7 MB / 410.7 MB Notification: Performance of Templates: time 0.04245/1.02, allocations: 12.71 MB / 0.7921 GB, free: 125.2 MB / 410.7 MB