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.0008146/0.0008145, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.000867/0.000867, allocations: 172.7 kB / 15.95 MB, free: 208 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.773/1.773, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.3586/0.3586, allocations: 40 MB / 310.4 MB, free: 9.961 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.0005525/0.0005525, allocations: 15.98 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1183, allocations: 57.96 MB / 436.8 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0006647/0.119, allocations: 266 kB / 437.1 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007571/0.1198, allocations: 380.8 kB / 437.4 MB, free: 1.941 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.122e-05/0.1198, allocations: 0 / 437.4 MB, free: 1.941 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.095e-05/0.1198, allocations: 3.938 kB / 437.4 MB, free: 1.938 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.63e-05/0.1199, allocations: 0 / 437.4 MB, free: 1.938 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005877/0.1205, allocations: 107.8 kB / 437.5 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.996e-05/0.1206, allocations: 19.92 kB / 437.6 MB, free: 1.812 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.1206, allocations: 8 kB / 437.6 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.656e-05/0.1206, allocations: 15.92 kB / 437.6 MB, free: 1.789 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.658e-05/0.1207, allocations: 15.92 kB / 437.6 MB, free: 1.773 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.1207, allocations: 4 kB / 437.6 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002682/0.121, allocations: 147.8 kB / 437.7 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.121, allocations: 11.91 kB / 437.8 MB, free: 1.613 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.1211, allocations: 29.7 kB / 437.8 MB, free: 1.578 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.1212, allocations: 76.17 kB / 437.9 MB, free: 1.504 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1212, allocations: 0 / 437.9 MB, free: 1.504 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.1212, allocations: 4 kB / 437.9 MB, free: 1.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1213, allocations: 4 kB / 437.9 MB, free: 1.496 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.0004454/0.1217, allocations: 347.3 kB / 438.2 MB, free: 1.109 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1218, allocations: 12.03 kB / 438.2 MB, free: 1.098 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.1218, allocations: 7.859 kB / 438.2 MB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.122, allocations: 174.9 kB / 438.4 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.122, allocations: 0 / 438.4 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.122, allocations: 11.94 kB / 438.4 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.1222, allocations: 53.61 kB / 438.5 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.1222, allocations: 4 kB / 438.5 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.1222, allocations: 4 kB / 438.5 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1222, allocations: 4 kB / 438.5 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.82e-05/0.1223, allocations: 23.98 kB / 438.5 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.1225, allocations: 177.5 kB / 438.7 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.1228, allocations: 62.53 kB / 438.7 MB, free: 492 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.994e-05/0.1228, allocations: 28.84 kB / 438.8 MB, free: 460 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002794/0.1231, allocations: 113.1 kB / 438.9 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.1232, allocations: 30.56 kB / 438.9 MB, free: 288 kB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.1232, allocations: 288 / 438.9 MB, free: 288 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.1153/0.2385, allocations: 6.62 MB / 445.5 MB, free: 9.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.2386, allocations: 59.34 kB / 445.6 MB, free: 9.555 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.404e-05/0.2387, allocations: 105.8 kB / 445.7 MB, free: 9.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.2387, allocations: 25.7 kB / 445.7 MB, free: 9.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.434e-05/0.2388, allocations: 84.14 kB / 445.8 MB, free: 9.324 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.039e-05/0.2388, allocations: 59.11 kB / 445.8 MB, free: 9.266 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.2389, allocations: 3.938 kB / 445.8 MB, free: 9.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.239, allocations: 326.8 kB / 446.2 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005017/0.2395, allocations: 243.8 kB / 446.4 MB, free: 8.695 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004975/0.24, allocations: 251.8 kB / 446.6 MB, free: 8.449 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009961/0.241, allocations: 291.8 kB / 446.9 MB, free: 8.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.241, allocations: 480 / 446.9 MB, free: 8.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00177/0.2428, allocations: 0.6371 MB / 447.6 MB, free: 7.523 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.2428, allocations: 8 kB / 447.6 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2428, allocations: 0 / 447.6 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.2429, allocations: 0 / 447.6 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006088/0.2435, allocations: 123.7 kB / 447.7 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.2435, allocations: 3.953 kB / 447.7 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000396/0.2439, allocations: 35.95 kB / 447.7 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.87e-05/0.244, allocations: 35.94 kB / 447.8 MB, free: 7.32 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.0001454/0.2441, allocations: 117.8 kB / 447.9 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.2442, allocations: 11.84 kB / 447.9 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002122/0.2463, allocations: 0.7593 MB / 448.7 MB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.2463, allocations: 0 / 448.7 MB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.2463, allocations: 4 kB / 448.7 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2463, allocations: 0 / 448.7 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003775/0.2501, allocations: 1.227 MB / 449.9 MB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2501, allocations: 256 / 449.9 MB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005064/0.2507, allocations: 108 kB / 450 MB, free: 5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.2507, allocations: 8 kB / 450 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.63e-05/0.2507, allocations: 31.95 kB / 450 MB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2507, allocations: 0 / 450 MB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.2507, allocations: 4 kB / 450 MB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.2523, allocations: 0.6134 MB / 450.7 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.2524, allocations: 85.02 kB / 450.7 MB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.2525, allocations: 11.95 kB / 450.7 MB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/0.2529, allocations: 35.89 kB / 450.8 MB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.253, allocations: 23.92 kB / 450.8 MB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/0.253, allocations: 27.95 kB / 450.8 MB, free: 4.109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.984e-05/0.2531, allocations: 83.28 kB / 450.9 MB, free: 4.027 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2531, allocations: 0 / 450.9 MB, free: 4.027 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001766/0.2549, allocations: 0.6367 MB / 451.6 MB, free: 3.391 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.003354/0.2582, allocations: 302.9 kB / 451.8 MB, free: 3.086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00131/0.2595, allocations: 487 kB / 452.3 MB, free: 2.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.2596, allocations: 0 / 452.3 MB, free: 2.613 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005434/0.2601, allocations: 228 kB / 452.5 MB, free: 2.391 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.2604, allocations: 8 kB / 452.6 MB, free: 2.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.2628, allocations: 0.5858 MB / 453.1 MB, free: 1.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.2632, allocations: 0.7007 MB / 453.8 MB, free: 1.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005539/0.2638, allocations: 120.9 kB / 454 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002885/0.2641, allocations: 91.28 kB / 454 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2641, allocations: 0 / 454 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of Templates: time 0.2542/0.5183, allocations: 56.91 MB / 0.499 GB, free: 25.04 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: