Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009354/0.0009353, allocations: 97.56 kB / 15.36 MB, free: 0.7305 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.0009989/0.0009994, allocations: 172.8 kB / 16.27 MB, free: 6.664 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.409/1.409, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.303/0.303, allocations: 40.01 MB / 310.7 MB, free: 9.867 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.000531/0.000531, allocations: 16.66 kB / 379.5 MB, free: 12.28 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1175, allocations: 57.96 MB / 437.4 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.0008566/0.1184, allocations: 273.9 kB / 437.7 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009833/0.1195, allocations: 380.5 kB / 438 MB, free: 1.582 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.008e-05/0.1195, allocations: 3.938 kB / 438.1 MB, free: 1.578 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.1196, allocations: 4 kB / 438.1 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.101e-05/0.1196, allocations: 3.938 kB / 438.1 MB, free: 1.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.1201, allocations: 67.81 kB / 438.1 MB, free: 1.504 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.118e-05/0.1201, allocations: 31.91 kB / 438.2 MB, free: 1.473 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.1202, allocations: 4 kB / 438.2 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.683e-05/0.1202, allocations: 11.92 kB / 438.2 MB, free: 1.457 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.883e-05/0.1203, allocations: 15.92 kB / 438.2 MB, free: 1.441 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.1203, allocations: 4 kB / 438.2 MB, free: 1.438 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002398/0.1206, allocations: 123.9 kB / 438.3 MB, free: 1.316 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.1206, allocations: 7.984 kB / 438.3 MB, free: 1.309 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.306e-05/0.1206, allocations: 41.56 kB / 438.4 MB, free: 1.262 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.1208, allocations: 92.08 kB / 438.5 MB, free: 1.172 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1208, allocations: 4 kB / 438.5 MB, free: 1.168 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1208, allocations: 0 / 438.5 MB, free: 1.168 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1208, allocations: 0 / 438.5 MB, free: 1.168 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.0005935/0.1214, allocations: 351.5 kB / 438.8 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1215, allocations: 12.03 kB / 438.8 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.1215, allocations: 12.78 kB / 438.8 MB, free: 0.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.1218, allocations: 176.2 kB / 439 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.1218, allocations: 4.375 kB / 439 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.1218, allocations: 8.281 kB / 439 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.1219, allocations: 50.25 kB / 439.1 MB, free: 484 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.122, allocations: 4.172 kB / 439.1 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.122, allocations: 3.938 kB / 439.1 MB, free: 476 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.122, allocations: 4 kB / 439.1 MB, free: 472 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.865e-05/0.1221, allocations: 27.92 kB / 439.1 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.1224, allocations: 169.7 kB / 439.3 MB, free: 224 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.1226, allocations: 58.55 kB / 439.3 MB, free: 156 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.1227, allocations: 24.84 kB / 439.3 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002883/0.123, allocations: 113.1 kB / 439.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.123, allocations: 42.78 kB / 439.5 MB, free: 15.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.1231, allocations: 0 / 439.5 MB, free: 15.94 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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.04394/0.167, allocations: 2.817 MB / 442.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.1671, allocations: 59.39 kB / 442.4 MB, free: 13.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.1672, allocations: 101.8 kB / 442.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.123e-05/0.1672, allocations: 29.7 kB / 442.5 MB, free: 12.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/0.1673, allocations: 84.14 kB / 442.6 MB, free: 12.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.621e-05/0.1674, allocations: 67 kB / 442.6 MB, free: 12.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.414e-05/0.1675, allocations: 17.72 kB / 442.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1676, allocations: 326.8 kB / 443 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004181/0.168, allocations: 187.9 kB / 443.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003883/0.1684, allocations: 191.9 kB / 443.4 MB, free: 12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.1695, allocations: 452 kB / 443.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1695, allocations: 480 / 443.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001055/0.1706, allocations: 497.3 kB / 444.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1706, allocations: 4 kB / 444.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.1706, allocations: 0 / 444.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1706, allocations: 4 kB / 444.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.171, allocations: 75.88 kB / 444.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.171, allocations: 8 kB / 444.4 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.1712, allocations: 23.98 kB / 444.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.1713, allocations: 15.98 kB / 444.4 MB, free: 10.93 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.0001253/0.1714, allocations: 125.7 kB / 444.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.1714, allocations: 11.89 kB / 444.5 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.1728, allocations: 0.5681 MB / 445.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.1728, allocations: 4 kB / 445.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1728, allocations: 0 / 445.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1729, allocations: 0 / 445.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002218/0.1751, allocations: 0.9594 MB / 446.1 MB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1751, allocations: 256 / 446.1 MB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002764/0.1754, allocations: 84.12 kB / 446.2 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1754, allocations: 0 / 446.2 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.087e-05/0.1754, allocations: 19.98 kB / 446.2 MB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.1754, allocations: 7.938 kB / 446.2 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1754, allocations: 3.938 kB / 446.2 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009475/0.1764, allocations: 496.8 kB / 446.7 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.1765, allocations: 85.02 kB / 446.8 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.1765, allocations: 4 kB / 446.8 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.1767, allocations: 27.97 kB / 446.8 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/0.1767, allocations: 23.92 kB / 446.8 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.1768, allocations: 15.98 kB / 446.8 MB, free: 8.371 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.612e-05/0.1768, allocations: 79.28 kB / 446.9 MB, free: 8.293 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1768, allocations: 0 / 446.9 MB, free: 8.293 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009051/0.1777, allocations: 320 kB / 447.2 MB, free: 7.98 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.001553/0.1793, allocations: 250.9 kB / 447.5 MB, free: 7.727 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008566/0.1802, allocations: 371.2 kB / 447.8 MB, free: 7.367 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1802, allocations: 0 / 447.8 MB, free: 7.367 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003471/0.1805, allocations: 168.2 kB / 448 MB, free: 7.203 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.1808, allocations: 12 kB / 448 MB, free: 7.191 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.1821, allocations: 484.1 kB / 448.5 MB, free: 6.672 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.1825, allocations: 0.6968 MB / 449.2 MB, free: 5.945 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003695/0.1828, allocations: 100.8 kB / 449.3 MB, free: 5.844 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.183, allocations: 51.41 kB / 449.3 MB, free: 5.793 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.183, allocations: 0 / 449.3 MB, free: 5.793 MB / 382.1 MB Notification: Performance of Templates: time 0.1935/0.3765, allocations: 17.56 MB / 466.9 MB, free: 45.57 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) Environment - environmentSimulation: