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.005224/0.005224, allocations: 95.25 kB / 15.73 MB, free: 6.043 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.001097/0.001097, allocations: 193.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.3029/0.3029, allocations: 38 MB / 307.9 MB, free: 10.17 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.001521/0.001521, allocations: 71.91 kB / 433 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3181, allocations: 56.46 MB / 489.4 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001598/0.3198, allocations: 0.5517 MB / 490 MB, free: 19.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007792/0.3206, allocations: 412.8 kB / 490.4 MB, free: 19.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.654e-05/0.3206, allocations: 3.125 kB / 490.4 MB, free: 19.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.3207, allocations: 3.938 kB / 490.4 MB, free: 19.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.105e-05/0.3207, allocations: 0 / 490.4 MB, free: 19.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004918/0.3212, allocations: 142.5 kB / 490.5 MB, free: 19.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.453e-05/0.3213, allocations: 32.09 kB / 490.6 MB, free: 19.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.315e-05/0.3213, allocations: 3.875 kB / 490.6 MB, free: 19.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.911e-05/0.3214, allocations: 15.95 kB / 490.6 MB, free: 19.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.851e-05/0.3214, allocations: 23.92 kB / 490.6 MB, free: 19.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.3215, allocations: 0 / 490.6 MB, free: 19.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.3218, allocations: 152.4 kB / 490.8 MB, free: 19.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.3218, allocations: 13.22 kB / 490.8 MB, free: 19.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.3218, allocations: 18.61 kB / 490.8 MB, free: 19.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.3221, allocations: 133.8 kB / 490.9 MB, free: 19.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3221, allocations: 0 / 490.9 MB, free: 19.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3221, allocations: 0 / 490.9 MB, free: 19.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.3221, allocations: 0 / 490.9 MB, free: 19.17 MB / 382.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.00039/0.3225, allocations: 374.2 kB / 491.3 MB, free: 18.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.3226, allocations: 13.55 kB / 491.3 MB, free: 18.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.3226, allocations: 7.875 kB / 491.3 MB, free: 18.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.3227, allocations: 163.1 kB / 491.5 MB, free: 18.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.3228, allocations: 2.281 kB / 491.5 MB, free: 18.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.92e-05/0.3228, allocations: 14.3 kB / 491.5 MB, free: 18.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.323, allocations: 65.33 kB / 491.6 MB, free: 18.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.323, allocations: 5.125 kB / 491.6 MB, free: 18.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.323, allocations: 4.516 kB / 491.6 MB, free: 18.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.323, allocations: 5.469 kB / 491.6 MB, free: 18.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.971e-05/0.3231, allocations: 42.02 kB / 491.6 MB, free: 18.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.3233, allocations: 174.4 kB / 491.8 MB, free: 18.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.3234, allocations: 83.81 kB / 491.9 MB, free: 18.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.023e-05/0.3235, allocations: 34.42 kB / 491.9 MB, free: 18.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002494/0.3237, allocations: 105.5 kB / 492 MB, free: 18.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.3238, allocations: 36.55 kB / 492 MB, free: 18.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.3238, allocations: 0 / 492 MB, free: 18.11 MB / 382.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.134/0.4577, allocations: 5.624 MB / 497.7 MB, free: 17.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.4578, allocations: 54.25 kB / 497.7 MB, free: 17.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.561e-05/0.4579, allocations: 91.39 kB / 497.8 MB, free: 17.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.4579, allocations: 31.11 kB / 497.8 MB, free: 17.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.169e-05/0.458, allocations: 88.58 kB / 497.9 MB, free: 16.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.506e-05/0.4581, allocations: 79.62 kB / 498 MB, free: 16.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.4582, allocations: 59.86 kB / 498.1 MB, free: 16.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.568e-05/0.4583, allocations: 320 kB / 498.4 MB, free: 16.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/0.4586, allocations: 113.9 kB / 498.5 MB, free: 16.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/0.459, allocations: 119.8 kB / 498.6 MB, free: 16.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.4604, allocations: 323 kB / 498.9 MB, free: 16.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4604, allocations: 0 / 498.9 MB, free: 16.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001132/0.4615, allocations: 361.8 kB / 499.3 MB, free: 16.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.4615, allocations: 6.219 kB / 499.3 MB, free: 16.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.4616, allocations: 0 / 499.3 MB, free: 16.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.4616, allocations: 1.531 kB / 499.3 MB, free: 16.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003892/0.462, allocations: 82.44 kB / 499.4 MB, free: 16.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.462, allocations: 5.125 kB / 499.4 MB, free: 16.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.4622, allocations: 24.34 kB / 499.4 MB, free: 16.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.4623, allocations: 21.98 kB / 499.4 MB, free: 16.08 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.439e-05/0.4624, allocations: 118.6 kB / 499.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/0.4624, allocations: 8.609 kB / 499.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.4638, allocations: 426.2 kB / 499.9 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.4638, allocations: 2.688 kB / 499.9 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.4639, allocations: 3.984 kB / 500 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.4639, allocations: 0.875 kB / 500 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.4661, allocations: 0.7758 MB / 0.489 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.4661, allocations: 7.938 kB / 0.489 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002907/0.4664, allocations: 80.61 kB / 0.4891 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.4664, allocations: 2.75 kB / 0.4891 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.4665, allocations: 14.8 kB / 0.4891 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.4665, allocations: 1.469 kB / 0.4891 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.4665, allocations: 1.438 kB / 0.4891 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.4676, allocations: 428.3 kB / 0.4895 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/0.4677, allocations: 93.3 kB / 0.4896 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.4677, allocations: 10.25 kB / 0.4896 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.4679, allocations: 24.53 kB / 0.4896 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.4679, allocations: 14.8 kB / 0.4896 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.468, allocations: 14.98 kB / 0.4897 GB, free: 14.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.978e-05/0.468, allocations: 76.66 kB / 0.4897 GB, free: 14.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.468, allocations: 0 / 0.4897 GB, free: 14.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002443/0.4705, allocations: 0.6339 MB / 0.4903 GB, free: 14.57 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003088/0.4736, allocations: 293.7 kB / 0.4906 GB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009808/0.4746, allocations: 263.6 kB / 0.4909 GB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4746, allocations: 1.406 kB / 0.4909 GB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004103/0.475, allocations: 134.4 kB / 0.491 GB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.4753, allocations: 14.28 kB / 0.491 GB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.4764, allocations: 341.2 kB / 0.4913 GB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.4766, allocations: 0.6962 MB / 0.492 GB, free: 13.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002596/0.4769, allocations: 76.67 kB / 0.4921 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.477, allocations: 49.27 kB / 0.4921 GB, free: 13.23 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.477, allocations: 0 / 0.4921 GB, free: 13.23 MB / 382.1 MB Notification: Performance of Templates: time 0.0725/0.5496, allocations: 53.88 MB / 0.5448 GB, free: 14.54 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (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)