Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001194/0.001194, allocations: 190.6 kB / 16.25 MB, free: 6.637 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.1 MB / 222.1 MB, free: 4.672 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.2995/0.2995, allocations: 37.98 MB / 307.4 MB, free: 10.16 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.001472/0.001472, allocations: 78.33 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1102, allocations: 56.46 MB / 431.2 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.002075/0.1123, allocations: 0.6063 MB / 431.8 MB, free: 6.367 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000901/0.1132, allocations: 416.4 kB / 432.2 MB, free: 5.957 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.357e-05/0.1133, allocations: 0 / 432.2 MB, free: 5.957 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.813e-05/0.1133, allocations: 0 / 432.2 MB, free: 5.957 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.611e-05/0.1134, allocations: 0 / 432.2 MB, free: 5.957 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006438/0.114, allocations: 124 kB / 432.3 MB, free: 5.836 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.229e-05/0.1141, allocations: 31.91 kB / 432.4 MB, free: 5.805 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.997e-05/0.1142, allocations: 7.938 kB / 432.4 MB, free: 5.797 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.978e-05/0.1142, allocations: 15.94 kB / 432.4 MB, free: 5.781 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.148e-05/0.1143, allocations: 23.91 kB / 432.4 MB, free: 5.758 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.1143, allocations: 0 / 432.4 MB, free: 5.758 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002622/0.1146, allocations: 167.7 kB / 432.6 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.1146, allocations: 4 kB / 432.6 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.702e-05/0.1146, allocations: 15.88 kB / 432.6 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.1148, allocations: 127.8 kB / 432.7 MB, free: 5.449 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1148, allocations: 0 / 432.7 MB, free: 5.449 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1148, allocations: 0 / 432.7 MB, free: 5.449 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.1148, allocations: 0 / 432.7 MB, free: 5.449 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004466/0.1153, allocations: 367.5 kB / 433.1 MB, free: 5.043 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1153, allocations: 11.89 kB / 433.1 MB, free: 5.031 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.1154, allocations: 4.938 kB / 433.1 MB, free: 5.027 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.1155, allocations: 172.2 kB / 433.3 MB, free: 4.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.1155, allocations: 4.375 kB / 433.3 MB, free: 4.816 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.1156, allocations: 12.28 kB / 433.3 MB, free: 4.805 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.1157, allocations: 58.23 kB / 433.3 MB, free: 4.742 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.1157, allocations: 7.938 kB / 433.3 MB, free: 4.734 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.1158, allocations: 7.938 kB / 433.4 MB, free: 4.727 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1158, allocations: 4 kB / 433.4 MB, free: 4.723 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.443e-05/0.1159, allocations: 43.95 kB / 433.4 MB, free: 4.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.116, allocations: 169.7 kB / 433.6 MB, free: 4.465 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.1162, allocations: 94.41 kB / 433.7 MB, free: 4.363 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.833e-05/0.1162, allocations: 32.84 kB / 433.7 MB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002572/0.1165, allocations: 97.08 kB / 433.8 MB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.1165, allocations: 34.56 kB / 433.8 MB, free: 4.172 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.1165, allocations: 4 kB / 433.8 MB, free: 4.168 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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1236/0.2401, allocations: 5.635 MB / 439.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.2402, allocations: 51.41 kB / 439.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.8e-05/0.2402, allocations: 93.86 kB / 439.6 MB, free: 14.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/0.2403, allocations: 33.64 kB / 439.6 MB, free: 14.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.2403, allocations: 80.52 kB / 439.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.494e-05/0.2404, allocations: 78.89 kB / 439.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.2405, allocations: 57.67 kB / 439.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.2406, allocations: 330.8 kB / 440.2 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.241, allocations: 115.9 kB / 440.3 MB, free: 13.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/0.2413, allocations: 107.9 kB / 440.4 MB, free: 13.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.2427, allocations: 320.5 kB / 440.7 MB, free: 13.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2427, allocations: 3.984 kB / 440.7 MB, free: 13.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001215/0.2439, allocations: 353.7 kB / 441.1 MB, free: 12.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/0.244, allocations: 8 kB / 441.1 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.244, allocations: 4 kB / 441.1 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.244, allocations: 3.984 kB / 441.1 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004575/0.2445, allocations: 87.84 kB / 441.2 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.2445, allocations: 0 / 441.2 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.2447, allocations: 19.97 kB / 441.2 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/0.2448, allocations: 27.91 kB / 441.2 MB, free: 12.7 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 (23): * Single equations (assignments): 23 * 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.0001647/0.2449, allocations: 125.8 kB / 441.3 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/0.245, allocations: 7.906 kB / 441.3 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/0.2464, allocations: 425.8 kB / 441.7 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.2465, allocations: 4 kB / 441.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.2465, allocations: 0 / 441.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.2465, allocations: 0 / 441.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002276/0.2488, allocations: 0.7804 MB / 442.5 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.2488, allocations: 0 / 442.5 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.2491, allocations: 83.92 kB / 442.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.2491, allocations: 4 kB / 442.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.2491, allocations: 11.98 kB / 442.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.2491, allocations: 0 / 442.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.2491, allocations: 0 / 442.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.2502, allocations: 428.7 kB / 443 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.2502, allocations: 85.02 kB / 443.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.2503, allocations: 8 kB / 443.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.2505, allocations: 27.97 kB / 443.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.2505, allocations: 11.98 kB / 443.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.2505, allocations: 15.98 kB / 443.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.274e-05/0.2506, allocations: 79.28 kB / 443.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2506, allocations: 0 / 443.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001767/0.2524, allocations: 0.6288 MB / 443.9 MB, free: 9.871 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.002892/0.2553, allocations: 306.9 kB / 444.2 MB, free: 9.562 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007767/0.2561, allocations: 271.7 kB / 444.5 MB, free: 9.297 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.2561, allocations: 0 / 444.5 MB, free: 9.297 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003442/0.2564, allocations: 127.8 kB / 444.6 MB, free: 9.172 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.2567, allocations: 12 kB / 444.6 MB, free: 9.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009689/0.2577, allocations: 384.2 kB / 445 MB, free: 8.754 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.2579, allocations: 0.6931 MB / 445.7 MB, free: 8.031 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003067/0.2582, allocations: 81.08 kB / 445.7 MB, free: 7.953 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.2584, allocations: 47.39 kB / 445.8 MB, free: 7.906 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2584, allocations: 0 / 445.8 MB, free: 7.906 MB / 382.1 MB Notification: Performance of Templates: time 0.2466/0.5049, allocations: 53.84 MB / 499.6 MB, free: 34.73 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1)