Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007453/0.007453, allocations: 100.9 kB / 15.73 MB, free: 6.445 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.001718/0.001718, allocations: 194.1 kB / 16.68 MB, free: 6.355 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.459/1.459, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.3206/0.3206, allocations: 39.94 MB / 309.8 MB, free: 9.5 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.001459/0.001459, allocations: 63.91 kB / 435.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2509, allocations: 56.87 MB / 492.6 MB, free: 19.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001427/0.2524, allocations: 0.508 MB / 493.1 MB, free: 19.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002527/0.2526, allocations: 87.31 kB / 493.2 MB, free: 19.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.109e-05/0.2527, allocations: 0 / 493.2 MB, free: 19.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.56e-05/0.2527, allocations: 3.938 kB / 493.2 MB, free: 19.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.798e-05/0.2527, allocations: 1.281 kB / 493.2 MB, free: 19.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.2529, allocations: 18.42 kB / 493.3 MB, free: 19.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.237e-05/0.253, allocations: 16.3 kB / 493.3 MB, free: 19.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.622e-05/0.253, allocations: 2.984 kB / 493.3 MB, free: 19.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.228e-05/0.253, allocations: 7.406 kB / 493.3 MB, free: 19.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.887e-05/0.2531, allocations: 16.44 kB / 493.3 MB, free: 19.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.2531, allocations: 1.375 kB / 493.3 MB, free: 19.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.267e-05/0.2532, allocations: 29 kB / 493.3 MB, free: 19.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.2532, allocations: 5.797 kB / 493.3 MB, free: 19.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/0.2532, allocations: 6.156 kB / 493.3 MB, free: 19.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.972e-05/0.2533, allocations: 28.56 kB / 493.4 MB, free: 19.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2533, allocations: 0 / 493.4 MB, free: 19.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2533, allocations: 1.062 kB / 493.4 MB, free: 19.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.2534, allocations: 0 / 493.4 MB, free: 19.07 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002883/0.2536, allocations: 337 kB / 493.7 MB, free: 18.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.2537, allocations: 13.17 kB / 493.7 MB, free: 18.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.2537, allocations: 3.266 kB / 493.7 MB, free: 18.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.827e-05/0.2538, allocations: 161.2 kB / 493.9 MB, free: 18.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.2538, allocations: 1.5 kB / 493.9 MB, free: 18.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.2538, allocations: 2.562 kB / 493.9 MB, free: 18.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.2539, allocations: 59.28 kB / 493.9 MB, free: 18.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.254, allocations: 5.25 kB / 493.9 MB, free: 18.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.254, allocations: 3.938 kB / 493.9 MB, free: 18.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.254, allocations: 1.188 kB / 493.9 MB, free: 18.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.416e-05/0.254, allocations: 8.594 kB / 494 MB, free: 18.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.2542, allocations: 325.6 kB / 494.3 MB, free: 18.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.499e-05/0.2543, allocations: 29.91 kB / 494.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.508e-05/0.2543, allocations: 20.36 kB / 494.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.2544, allocations: 4.781 kB / 494.3 MB, free: 18.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.259e-05/0.2544, allocations: 31.59 kB / 494.4 MB, free: 17.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.2544, allocations: 0 / 494.4 MB, free: 17.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.000157/0.2545, allocations: 58.5 kB / 494.4 MB, free: 17.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.2546, allocations: 56.56 kB / 494.5 MB, free: 17.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.698e-05/0.2546, allocations: 93.8 kB / 494.6 MB, free: 17.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.442e-06/0.2546, allocations: 30.86 kB / 494.6 MB, free: 17.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.088e-05/0.2547, allocations: 80.94 kB / 494.7 MB, free: 17.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.09e-05/0.2547, allocations: 17.02 kB / 494.7 MB, free: 17.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.2547, allocations: 15.53 kB / 494.7 MB, free: 17.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.731e-05/0.2548, allocations: 316.7 kB / 495 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.236e-05/0.2548, allocations: 4.828 kB / 495 MB, free: 17.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.254e-05/0.2548, allocations: 20.8 kB / 495 MB, free: 17.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.628e-05/0.2549, allocations: 38.19 kB / 495.1 MB, free: 17.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2549, allocations: 0 / 495.1 MB, free: 17.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.024e-05/0.255, allocations: 58.06 kB / 495.1 MB, free: 17.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.255, allocations: 5.844 kB / 495.1 MB, free: 17.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.255, allocations: 128 / 495.1 MB, free: 17.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.255, allocations: 1.25 kB / 495.1 MB, free: 17.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.2551, allocations: 16.56 kB / 495.1 MB, free: 17.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2551, allocations: 1.156 kB / 495.2 MB, free: 17.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.217e-05/0.2551, allocations: 2.078 kB / 495.2 MB, free: 17.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.2551, allocations: 5.25 kB / 495.2 MB, free: 17.22 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 4.624e-05/0.2552, allocations: 120.9 kB / 495.3 MB, free: 17.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.2552, allocations: 5.062 kB / 495.3 MB, free: 17.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.2554, allocations: 65.25 kB / 495.3 MB, free: 17.03 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.2554, allocations: 0.6094 kB / 495.3 MB, free: 17.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2554, allocations: 1.219 kB / 495.3 MB, free: 17.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.2554, allocations: 0.6094 kB / 495.3 MB, free: 17.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.2555, allocations: 162.8 kB / 495.5 MB, free: 16.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2555, allocations: 4 kB / 495.5 MB, free: 16.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.239e-05/0.2556, allocations: 16.06 kB / 495.5 MB, free: 16.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2556, allocations: 0 / 495.5 MB, free: 16.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.2556, allocations: 1.094 kB / 495.5 MB, free: 16.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2556, allocations: 1.828 kB / 495.5 MB, free: 16.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2556, allocations: 0 / 495.5 MB, free: 16.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.872e-05/0.2557, allocations: 148.4 kB / 495.7 MB, free: 16.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.353e-05/0.2557, allocations: 78.36 kB / 495.7 MB, free: 16.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.2557, allocations: 6.078 kB / 495.8 MB, free: 16.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.641e-05/0.2558, allocations: 4 kB / 495.8 MB, free: 16.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.2558, allocations: 4.938 kB / 495.8 MB, free: 16.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.2558, allocations: 1.375 kB / 495.8 MB, free: 16.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.526e-05/0.2559, allocations: 77.52 kB / 495.8 MB, free: 16.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2559, allocations: 0 / 495.8 MB, free: 16.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000221/0.2561, allocations: 9.438 kB / 495.9 MB, free: 16.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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 8.848e-05/0.2562, allocations: 104.8 kB / 496 MB, free: 16.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.358e-05/0.2563, allocations: 29.77 kB / 496 MB, free: 16.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2563, allocations: 1.188 kB / 496 MB, free: 16.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.827e-05/0.2563, allocations: 17.92 kB / 496 MB, free: 16.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.2565, allocations: 7.219 kB / 496 MB, free: 16.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001921/0.2567, allocations: 116.3 kB / 496.1 MB, free: 16.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.354e-05/0.2568, allocations: 0.6767 MB / 496.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.059e-05/0.2569, allocations: 6.297 kB / 496.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/0.2569, allocations: 10.83 kB / 496.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2569, allocations: 0 / 496.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of Templates: time 0.002361/0.2593, allocations: 475.4 kB / 497.3 MB, free: 15.48 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1)