Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006969/0.006969, allocations: 101.6 kB / 15.73 MB, free: 5.992 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.001499/0.001499, allocations: 195.9 kB / 16.67 MB, free: 5.922 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.403/1.403, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1921/0.1921, allocations: 39.96 MB / 309.9 MB, free: 4.004 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.002618/0.002618, allocations: 74 kB / 435.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1032, allocations: 56.88 MB / 492.6 MB, free: 2.781 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.002097/0.1053, allocations: 0.5359 MB / 493.2 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007715/0.1061, allocations: 407.1 kB / 493.6 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.047e-05/0.1062, allocations: 0 / 493.6 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2e-05/0.1062, allocations: 3.938 kB / 493.6 MB, free: 1.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.892e-05/0.1062, allocations: 7.938 kB / 493.6 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005291/0.1068, allocations: 135.5 kB / 493.7 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.567e-05/0.1068, allocations: 31.86 kB / 493.8 MB, free: 1.668 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.1069, allocations: 4 kB / 493.8 MB, free: 1.664 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.675e-05/0.1069, allocations: 11.92 kB / 493.8 MB, free: 1.652 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.879e-05/0.107, allocations: 19.91 kB / 493.8 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.107, allocations: 4 kB / 493.8 MB, free: 1.629 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002575/0.1073, allocations: 155.8 kB / 493.9 MB, free: 1.477 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.1073, allocations: 7.984 kB / 494 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.1073, allocations: 19.86 kB / 494 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.1075, allocations: 127.8 kB / 494.1 MB, free: 1.324 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1076, allocations: 3.938 kB / 494.1 MB, free: 1.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1076, allocations: 0 / 494.1 MB, free: 1.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1076, allocations: 0 / 494.1 MB, free: 1.32 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003826/0.108, allocations: 367.3 kB / 494.5 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.108, allocations: 11.89 kB / 494.5 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.108, allocations: 8.938 kB / 494.5 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.1082, allocations: 168.3 kB / 494.6 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.1082, allocations: 4.375 kB / 494.6 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.1082, allocations: 8.312 kB / 494.7 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.1083, allocations: 62.11 kB / 494.7 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1084, allocations: 3.938 kB / 494.7 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1084, allocations: 0 / 494.7 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1084, allocations: 4 kB / 494.7 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.343e-05/0.1084, allocations: 23.98 kB / 494.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.1086, allocations: 177.6 kB / 494.9 MB, free: 368 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.1088, allocations: 58.59 kB / 495 MB, free: 300 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.38e-05/0.1089, allocations: 24.84 kB / 495 MB, free: 272 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002606/0.1092, allocations: 109 kB / 495.1 MB, free: 144 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.1092, allocations: 34.56 kB / 495.1 MB, free: 100 kB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.1092, allocations: 4 kB / 495.1 MB, free: 96 kB / 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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.1412/0.2504, allocations: 6.381 MB / 0.4898 GB, free: 9.676 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.2505, allocations: 51.41 kB / 0.4898 GB, free: 9.613 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.773e-05/0.2505, allocations: 101.8 kB / 0.4899 GB, free: 9.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.2506, allocations: 29.7 kB / 0.4899 GB, free: 9.469 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.159e-05/0.2506, allocations: 80.14 kB / 0.49 GB, free: 9.387 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.917e-05/0.2507, allocations: 67.09 kB / 0.4901 GB, free: 9.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.2509, allocations: 93.53 kB / 0.4902 GB, free: 9.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.956e-05/0.251, allocations: 326.8 kB / 0.4905 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005359/0.2515, allocations: 227.8 kB / 0.4907 GB, free: 8.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005328/0.2521, allocations: 227.8 kB / 0.4909 GB, free: 8.449 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002095/0.2542, allocations: 0.5629 MB / 0.4915 GB, free: 7.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2542, allocations: 0 / 0.4915 GB, free: 7.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001816/0.256, allocations: 0.6177 MB / 0.4921 GB, free: 7.262 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2561, allocations: 4 kB / 0.4921 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2561, allocations: 0 / 0.4921 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.2561, allocations: 0 / 0.4921 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006445/0.2567, allocations: 112.5 kB / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2567, allocations: 0 / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/0.2572, allocations: 27.97 kB / 0.4922 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.416e-05/0.2573, allocations: 35.94 kB / 0.4922 GB, free: 7.086 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 (19): * Single equations (assignments): 19 * 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 0.0001328/0.2574, allocations: 121.7 kB / 0.4924 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.147e-05/0.2575, allocations: 11.84 kB / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/0.2596, allocations: 0.7279 MB / 0.4931 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.289e-06/0.2596, allocations: 3.984 kB / 0.4931 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2596, allocations: 0 / 0.4931 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2596, allocations: 4 kB / 0.4931 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003948/0.2636, allocations: 1.176 MB / 0.4942 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2636, allocations: 0 / 0.4942 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005335/0.2641, allocations: 103.8 kB / 0.4943 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.2641, allocations: 0 / 0.4943 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.163e-05/0.2642, allocations: 27.95 kB / 0.4944 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.2642, allocations: 3.984 kB / 0.4944 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2642, allocations: 4 kB / 0.4944 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.2659, allocations: 0.5824 MB / 0.4949 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.932e-05/0.266, allocations: 89.02 kB / 0.495 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/0.266, allocations: 3.984 kB / 0.495 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004194/0.2665, allocations: 27.97 kB / 0.4951 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.637e-05/0.2665, allocations: 11.98 kB / 0.4951 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.375e-05/0.2665, allocations: 35.89 kB / 0.4951 GB, free: 4.008 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.187e-05/0.2666, allocations: 83.27 kB / 0.4952 GB, free: 3.926 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2666, allocations: 4 kB / 0.4952 GB, free: 3.922 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001663/0.2683, allocations: 0.6483 MB / 0.4958 GB, free: 3.273 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.003093/0.2714, allocations: 294.9 kB / 0.4961 GB, free: 2.973 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.2725, allocations: 451 kB / 0.4965 GB, free: 2.535 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2726, allocations: 0 / 0.4965 GB, free: 2.535 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005408/0.2731, allocations: 204.1 kB / 0.4967 GB, free: 2.336 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.2734, allocations: 15.98 kB / 0.4967 GB, free: 2.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.2757, allocations: 0.51 MB / 0.4972 GB, free: 1.766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.276, allocations: 0.6926 MB / 0.4979 GB, free: 1.043 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004201/0.2764, allocations: 129.1 kB / 0.498 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003264/0.2767, allocations: 91.28 kB / 0.4981 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2767, allocations: 0 / 0.4981 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of Templates: time 0.2457/0.5225, allocations: 57.59 MB / 0.5544 GB, free: 4.52 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1)