Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0009689/0.0009686, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009835/0.0009837, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.2979/0.2979, allocations: 38.04 MB / 308.4 MB, free: 10.45 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.0005682/0.0005683, allocations: 16 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1139, allocations: 57.52 MB / 434 MB, free: 5.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0006405/0.1146, allocations: 266.1 kB / 434.2 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006718/0.1153, allocations: 380.7 kB / 434.6 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.16e-05/0.1154, allocations: 0 / 434.6 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.537e-05/0.1154, allocations: 0 / 434.6 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.978e-05/0.1154, allocations: 4 kB / 434.6 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.1159, allocations: 95.78 kB / 434.7 MB, free: 4.828 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.33e-05/0.1159, allocations: 19.92 kB / 434.7 MB, free: 4.809 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.846e-05/0.116, allocations: 11.97 kB / 434.7 MB, free: 4.797 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.112e-05/0.116, allocations: 11.94 kB / 434.7 MB, free: 4.785 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.654e-05/0.1161, allocations: 19.92 kB / 434.8 MB, free: 4.766 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.1161, allocations: 0 / 434.8 MB, free: 4.766 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002665/0.1164, allocations: 155.8 kB / 434.9 MB, free: 4.613 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.1164, allocations: 3.938 kB / 434.9 MB, free: 4.609 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.1164, allocations: 29.7 kB / 434.9 MB, free: 4.574 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.1166, allocations: 84.16 kB / 435 MB, free: 4.492 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1166, allocations: 0 / 435 MB, free: 4.492 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1166, allocations: 0 / 435 MB, free: 4.492 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.1166, allocations: 0 / 435 MB, free: 4.492 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.0003827/0.117, allocations: 359.2 kB / 435.4 MB, free: 4.094 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1171, allocations: 8.031 kB / 435.4 MB, free: 4.086 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.1171, allocations: 7.938 kB / 435.4 MB, free: 4.078 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.1172, allocations: 178.8 kB / 435.6 MB, free: 3.863 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.1172, allocations: 4 kB / 435.6 MB, free: 3.859 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.1173, allocations: 4 kB / 435.6 MB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.1174, allocations: 57.67 kB / 435.6 MB, free: 3.793 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1174, allocations: 4 kB / 435.6 MB, free: 3.789 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1174, allocations: 0 / 435.6 MB, free: 3.789 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1174, allocations: 0 / 435.6 MB, free: 3.789 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.334e-05/0.1175, allocations: 27.92 kB / 435.7 MB, free: 3.762 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.1177, allocations: 173.6 kB / 435.8 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.1179, allocations: 54.55 kB / 435.9 MB, free: 3.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.426e-05/0.1179, allocations: 32.84 kB / 435.9 MB, free: 3.445 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002516/0.1182, allocations: 113.1 kB / 436 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.1182, allocations: 38.78 kB / 436.1 MB, free: 3.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.1182, allocations: 4 kB / 436.1 MB, free: 3.266 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.1119/0.2302, allocations: 6.614 MB / 442.7 MB, free: 12.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.2303, allocations: 59.39 kB / 442.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.635e-05/0.2304, allocations: 97.86 kB / 442.8 MB, free: 12.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.2304, allocations: 29.7 kB / 442.9 MB, free: 12.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.345e-05/0.2304, allocations: 88.08 kB / 442.9 MB, free: 12.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.811e-05/0.2305, allocations: 63.08 kB / 443 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.2306, allocations: 8 kB / 443 MB, free: 12.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.2307, allocations: 323.3 kB / 443.3 MB, free: 11.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004999/0.2312, allocations: 243.8 kB / 443.6 MB, free: 11.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004891/0.2317, allocations: 243.8 kB / 443.8 MB, free: 11.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009413/0.2326, allocations: 291.8 kB / 444.1 MB, free: 11.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2327, allocations: 0 / 444.1 MB, free: 11.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001629/0.2343, allocations: 0.6451 MB / 444.7 MB, free: 10.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.2343, allocations: 7.984 kB / 444.7 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2343, allocations: 0 / 444.7 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.2344, allocations: 3.938 kB / 444.7 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005815/0.2349, allocations: 119.8 kB / 444.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.235, allocations: 4 kB / 444.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.2353, allocations: 27.92 kB / 444.9 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/0.2354, allocations: 35.94 kB / 444.9 MB, free: 10.31 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.2355, allocations: 126.8 kB / 445.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.262e-05/0.2356, allocations: 7.906 kB / 445.1 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/0.2376, allocations: 0.7555 MB / 445.8 MB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.2376, allocations: 4 kB / 445.8 MB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2376, allocations: 4 kB / 445.8 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.2376, allocations: 3.984 kB / 445.8 MB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003568/0.2412, allocations: 1.227 MB / 447.1 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.2412, allocations: 4 kB / 447.1 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000484/0.2417, allocations: 107.8 kB / 447.2 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.2417, allocations: 0 / 447.2 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.339e-05/0.2418, allocations: 27.95 kB / 447.2 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.2418, allocations: 4 kB / 447.2 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.2418, allocations: 12.05 kB / 447.2 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.2433, allocations: 0.602 MB / 447.8 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.384e-05/0.2434, allocations: 88.95 kB / 447.9 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/0.2434, allocations: 15.94 kB / 447.9 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/0.2438, allocations: 35.97 kB / 448 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/0.2438, allocations: 15.92 kB / 448 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-05/0.2439, allocations: 27.95 kB / 448 MB, free: 7.102 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.918e-05/0.2439, allocations: 87.27 kB / 448.1 MB, free: 7.016 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2439, allocations: 0 / 448.1 MB, free: 7.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001663/0.2456, allocations: 0.6406 MB / 448.7 MB, free: 6.375 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003086/0.2487, allocations: 306.9 kB / 449 MB, free: 6.066 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.2498, allocations: 490.7 kB / 449.5 MB, free: 5.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.2498, allocations: 0 / 449.5 MB, free: 5.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000477/0.2503, allocations: 211.8 kB / 449.7 MB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.2506, allocations: 16.31 kB / 449.7 MB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.2527, allocations: 0.5898 MB / 450.3 MB, free: 4.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.253, allocations: 0.6929 MB / 451 MB, free: 4.008 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005314/0.2536, allocations: 124.9 kB / 451.1 MB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002706/0.2538, allocations: 87.28 kB / 451.2 MB, free: 3.801 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2538, allocations: 4 kB / 451.2 MB, free: 3.797 MB / 382.1 MB Notification: Performance of Templates: time 0.2477/0.5015, allocations: 56.91 MB / 0.4962 GB, free: 28.74 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) Environment - environmentSimulation: