Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001437/0.001438, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001745/0.001746, allocations: 193.2 kB / 16.25 MB, free: 6.617 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.402/1.402, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.2779/0.2779, allocations: 37.98 MB / 307.4 MB, free: 10.11 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.001368/0.001368, allocations: 66.41 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09608/0.09746, allocations: 56.46 MB / 431.2 MB, free: 6.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001732/0.09923, allocations: 0.6141 MB / 431.8 MB, free: 6.363 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006003/0.09985, allocations: 372.4 kB / 432.2 MB, free: 6 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.024e-05/0.09989, allocations: 0 / 432.2 MB, free: 6 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.538e-05/0.09991, allocations: 3.938 kB / 432.2 MB, free: 5.996 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.787e-05/0.09994, allocations: 0 / 432.2 MB, free: 5.996 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.1003, allocations: 91.78 kB / 432.3 MB, free: 5.906 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.958e-05/0.1004, allocations: 27.92 kB / 432.3 MB, free: 5.879 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.423e-05/0.1004, allocations: 288 / 432.3 MB, free: 5.879 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.135e-05/0.1004, allocations: 11.94 kB / 432.3 MB, free: 5.867 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.871e-05/0.1005, allocations: 19.92 kB / 432.3 MB, free: 5.848 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.1005, allocations: 0 / 432.3 MB, free: 5.848 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.1007, allocations: 119.9 kB / 432.4 MB, free: 5.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.1007, allocations: 8 kB / 432.5 MB, free: 5.723 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.268e-05/0.1007, allocations: 19.86 kB / 432.5 MB, free: 5.703 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.1009, allocations: 95.73 kB / 432.6 MB, free: 5.609 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1009, allocations: 3.938 kB / 432.6 MB, free: 5.605 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1009, allocations: 0 / 432.6 MB, free: 5.605 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1009, allocations: 0 / 432.6 MB, free: 5.605 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.0003649/0.1013, allocations: 363.4 kB / 432.9 MB, free: 5.199 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.1013, allocations: 15.89 kB / 432.9 MB, free: 5.184 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.1014, allocations: 8.844 kB / 432.9 MB, free: 5.176 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.1015, allocations: 164.4 kB / 433.1 MB, free: 4.977 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.1015, allocations: 384 / 433.1 MB, free: 4.977 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.1015, allocations: 8.375 kB / 433.1 MB, free: 4.969 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.1016, allocations: 58.17 kB / 433.2 MB, free: 4.906 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1017, allocations: 4.125 kB / 433.2 MB, free: 4.902 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1017, allocations: 3.938 kB / 433.2 MB, free: 4.898 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.1017, allocations: 4 kB / 433.2 MB, free: 4.895 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.997e-05/0.1017, allocations: 27.92 kB / 433.2 MB, free: 4.867 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.1019, allocations: 173.6 kB / 433.4 MB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.1021, allocations: 58.59 kB / 433.4 MB, free: 4.582 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.451e-05/0.1022, allocations: 28.84 kB / 433.5 MB, free: 4.551 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002428/0.1024, allocations: 105.1 kB / 433.6 MB, free: 4.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.1025, allocations: 34.56 kB / 433.6 MB, free: 4.387 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.1025, allocations: 0 / 433.6 MB, free: 4.387 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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.04073/0.1432, allocations: 2.579 MB / 436.2 MB, free: 1.773 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.1433, allocations: 55.41 kB / 436.2 MB, free: 1.707 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.984e-05/0.1434, allocations: 105.8 kB / 436.3 MB, free: 1.594 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/0.1434, allocations: 29.7 kB / 436.4 MB, free: 1.559 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.365e-05/0.1435, allocations: 80.14 kB / 436.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.876e-05/0.1436, allocations: 67 kB / 436.5 MB, free: 1.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.1437, allocations: 65.69 kB / 436.6 MB, free: 1.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1438, allocations: 322.8 kB / 436.9 MB, free: 1.016 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003586/0.1442, allocations: 171.9 kB / 437.1 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/0.1445, allocations: 171.9 kB / 437.2 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009228/0.1454, allocations: 424.6 kB / 437.6 MB, free: 268 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1455, allocations: 0 / 437.6 MB, free: 268 kB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009729/0.1464, allocations: 460.9 kB / 438.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1465, allocations: 4 kB / 438.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1465, allocations: 0 / 438.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1465, allocations: 0 / 438.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004032/0.1469, allocations: 75.88 kB / 438.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1469, allocations: 0 / 438.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.1471, allocations: 23.97 kB / 438.2 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.1472, allocations: 16 kB / 438.2 MB, free: 15.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 (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.0001125/0.1473, allocations: 121.8 kB / 438.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.1473, allocations: 7.906 kB / 438.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.1486, allocations: 0.5406 MB / 438.9 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1486, allocations: 11.98 kB / 438.9 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1486, allocations: 0 / 438.9 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.1486, allocations: 3.984 kB / 438.9 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.1506, allocations: 0.889 MB / 439.8 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1506, allocations: 0 / 439.8 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002922/0.1509, allocations: 67.89 kB / 439.8 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1509, allocations: 0 / 439.8 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/0.151, allocations: 19.98 kB / 439.9 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.151, allocations: 4 kB / 439.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.151, allocations: 256 / 439.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008714/0.1519, allocations: 468.4 kB / 440.3 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.909e-05/0.1519, allocations: 85.02 kB / 440.4 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.152, allocations: 11.98 kB / 440.4 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.1522, allocations: 15.98 kB / 440.4 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.1522, allocations: 19.98 kB / 440.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.1522, allocations: 15.98 kB / 440.5 MB, free: 13.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.673e-05/0.1523, allocations: 83.28 kB / 440.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1523, allocations: 3.938 kB / 440.6 MB, free: 13.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008234/0.1531, allocations: 316.2 kB / 440.9 MB, free: 12.88 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.00128/0.1544, allocations: 246.9 kB / 441.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000869/0.1553, allocations: 351.3 kB / 441.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1553, allocations: 3.938 kB / 441.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003325/0.1557, allocations: 144.2 kB / 441.6 MB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.1559, allocations: 15.98 kB / 441.6 MB, free: 12.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.1572, allocations: 442.4 kB / 442 MB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.1575, allocations: 0.6965 MB / 442.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003596/0.1578, allocations: 88.89 kB / 442.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.158, allocations: 55.39 kB / 442.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.158, allocations: 0 / 442.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of Templates: time 0.1692/0.3272, allocations: 17.76 MB / 460.6 MB, free: 49.49 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1)