Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 100.2 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.001015/0.001015, allocations: 177.3 kB / 15.95 MB, free: 216 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.457/1.457, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.3514/0.3514, allocations: 38.02 MB / 308.4 MB, free: 10.35 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.0006568/0.0006573, allocations: 12 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1716, allocations: 57.52 MB / 433.9 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001163/0.1728, allocations: 268.4 kB / 434.2 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.1742, allocations: 394.4 kB / 434.6 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.906e-05/0.1743, allocations: 0 / 434.6 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.725e-05/0.1744, allocations: 0 / 434.6 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.492e-05/0.1744, allocations: 0 / 434.6 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007783/0.1752, allocations: 99.77 kB / 434.7 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.588e-05/0.1753, allocations: 19.92 kB / 434.7 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.861e-05/0.1754, allocations: 4 kB / 434.7 MB, free: 4.828 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.961e-05/0.1754, allocations: 15.92 kB / 434.7 MB, free: 4.812 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.032e-05/0.1755, allocations: 19.91 kB / 434.7 MB, free: 4.793 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.1756, allocations: 8 kB / 434.7 MB, free: 4.785 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004027/0.176, allocations: 143.8 kB / 434.9 MB, free: 4.645 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.584e-05/0.176, allocations: 15.92 kB / 434.9 MB, free: 4.629 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.664e-05/0.1761, allocations: 25.7 kB / 434.9 MB, free: 4.598 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.1763, allocations: 96.03 kB / 435 MB, free: 4.504 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1763, allocations: 0 / 435 MB, free: 4.504 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1763, allocations: 0 / 435 MB, free: 4.504 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.1763, allocations: 0 / 435 MB, free: 4.504 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005627/0.1769, allocations: 351.3 kB / 435.4 MB, free: 4.113 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.177, allocations: 12.03 kB / 435.4 MB, free: 4.102 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.569e-05/0.177, allocations: 7.984 kB / 435.4 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.1772, allocations: 167 kB / 435.5 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.1773, allocations: 4 kB / 435.5 MB, free: 3.887 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.1773, allocations: 8 kB / 435.5 MB, free: 3.879 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.1775, allocations: 57.67 kB / 435.6 MB, free: 3.816 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.1775, allocations: 7.906 kB / 435.6 MB, free: 3.809 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.1776, allocations: 0 / 435.6 MB, free: 3.809 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.1776, allocations: 7.922 kB / 435.6 MB, free: 3.801 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.1777, allocations: 43.97 kB / 435.7 MB, free: 3.758 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002481/0.178, allocations: 177.6 kB / 435.8 MB, free: 3.535 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.1781, allocations: 86.47 kB / 435.9 MB, free: 3.441 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003465/0.1785, allocations: 109.5 kB / 436 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/0.1786, allocations: 38.56 kB / 436.1 MB, free: 3.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.1786, allocations: 0 / 436.1 MB, free: 3.27 MB / 366.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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1313/0.3098, allocations: 5.85 MB / 441.9 MB, free: 13.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.3099, allocations: 59.39 kB / 442 MB, free: 13.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.3101, allocations: 93.86 kB / 442.1 MB, free: 13.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.3101, allocations: 29.7 kB / 442.1 MB, free: 13.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.886e-05/0.3102, allocations: 80.52 kB / 442.2 MB, free: 13.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.3103, allocations: 74.86 kB / 442.2 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.972e-05/0.3103, allocations: 4 kB / 442.2 MB, free: 13.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3105, allocations: 318.8 kB / 442.6 MB, free: 12.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.3109, allocations: 136 kB / 442.7 MB, free: 12.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004144/0.3113, allocations: 139.9 kB / 442.8 MB, free: 12.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000791/0.3121, allocations: 179.7 kB / 443 MB, free: 12.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3121, allocations: 0 / 443 MB, free: 12.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001445/0.3136, allocations: 397.8 kB / 443.4 MB, free: 11.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.489e-05/0.3137, allocations: 8 kB / 443.4 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.3137, allocations: 7.938 kB / 443.4 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.3137, allocations: 0 / 443.4 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005257/0.3142, allocations: 91.88 kB / 443.5 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.092e-05/0.3143, allocations: 7.984 kB / 443.5 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.3145, allocations: 35.97 kB / 443.5 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.3146, allocations: 15.98 kB / 443.6 MB, free: 11.69 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001709/0.3147, allocations: 126.8 kB / 443.7 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.317e-05/0.3148, allocations: 7.906 kB / 443.7 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/0.3165, allocations: 477.9 kB / 444.2 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.505e-06/0.3165, allocations: 11.92 kB / 444.2 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.3165, allocations: 7.891 kB / 444.2 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.3165, allocations: 0 / 444.2 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002497/0.319, allocations: 0.8775 MB / 445 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3191, allocations: 0 / 445 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.3193, allocations: 88 kB / 445.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.812e-06/0.3194, allocations: 0 / 445.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.3194, allocations: 11.98 kB / 445.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.3194, allocations: 4 kB / 445.2 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3194, allocations: 0 / 445.2 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.3207, allocations: 0.4884 MB / 445.6 MB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-05/0.3208, allocations: 89.02 kB / 445.7 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.3208, allocations: 0 / 445.7 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.321, allocations: 39.95 kB / 445.8 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.321, allocations: 19.94 kB / 445.8 MB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.3211, allocations: 19.98 kB / 445.8 MB, free: 9.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.787e-05/0.3211, allocations: 75.28 kB / 445.9 MB, free: 9.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3211, allocations: 0 / 445.9 MB, free: 9.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002143/0.3233, allocations: 0.6327 MB / 446.5 MB, free: 8.598 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003677/0.327, allocations: 298.9 kB / 446.8 MB, free: 8.297 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000942/0.3279, allocations: 303.8 kB / 447.1 MB, free: 8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.328, allocations: 4 kB / 447.1 MB, free: 7.996 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004085/0.3284, allocations: 148 kB / 447.2 MB, free: 7.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.3286, allocations: 4 kB / 447.3 MB, free: 7.848 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.3298, allocations: 413 kB / 447.7 MB, free: 7.406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.3303, allocations: 0.7017 MB / 448.4 MB, free: 6.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003215/0.3306, allocations: 81.08 kB / 448.4 MB, free: 6.602 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.3308, allocations: 47.39 kB / 448.5 MB, free: 6.555 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3308, allocations: 0 / 448.5 MB, free: 6.555 MB / 382.1 MB Notification: Performance of Templates: time 0.3225/0.6533, allocations: 53.78 MB / 0.4905 GB, free: 31.19 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) Environment - environmentSimulation: