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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001225/0.001226, allocations: 170.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.377/1.377, allocations: 170.6 MB / 183.8 MB, free: 11.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001672/0.001672, allocations: 107.5 kB / 223.2 MB, free: 4.055 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1884/0.1884, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.991e-05/2.995e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09855/0.0986, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3604/0.4591, allocations: 73.06 MB / 478.8 MB, free: 18.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000176/0.4593, allocations: 63.3 kB / 478.8 MB, free: 18.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00487/0.4642, allocations: 1.771 MB / 480.6 MB, free: 18.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.4642, allocations: 0 / 480.6 MB, free: 18.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.4642, allocations: 2.25 kB / 480.6 MB, free: 18.18 MB / 330.7 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.0002609/0.4645, allocations: 357.4 kB / 480.9 MB, free: 17.81 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.4645, allocations: 9.875 kB / 481 MB, free: 17.81 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.513e-05/0.4646, allocations: 7.094 kB / 481 MB, free: 17.81 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.4648, allocations: 167.4 kB / 481.1 MB, free: 17.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.4648, allocations: 1.594 kB / 481.1 MB, free: 17.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.4648, allocations: 14.09 kB / 481.1 MB, free: 17.6 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.465, allocations: 49.75 kB / 481.2 MB, free: 17.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.465, allocations: 1.969 kB / 481.2 MB, free: 17.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.465, allocations: 1.219 kB / 481.2 MB, free: 17.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.465, allocations: 5.125 kB / 481.2 MB, free: 17.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.469e-05/0.4651, allocations: 31.23 kB / 481.2 MB, free: 17.56 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.4652, allocations: 175.5 kB / 481.4 MB, free: 17.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.4654, allocations: 53.81 kB / 481.4 MB, free: 17.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.4655, allocations: 25.36 kB / 481.5 MB, free: 17.33 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002021/0.4657, allocations: 111.8 kB / 481.6 MB, free: 17.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.4657, allocations: 35.94 kB / 481.6 MB, free: 17.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.103e-06/0.4657, allocations: 0 / 481.6 MB, free: 17.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.03406/0.4998, allocations: 2.066 MB / 483.7 MB, free: 16.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.4999, allocations: 52.97 kB / 483.7 MB, free: 16.74 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.396e-05/0.5, allocations: 93.42 kB / 483.8 MB, free: 16.65 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.5, allocations: 29.27 kB / 483.9 MB, free: 16.62 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.464e-05/0.5, allocations: 82.05 kB / 483.9 MB, free: 16.54 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.741e-05/0.5001, allocations: 64.34 kB / 484 MB, free: 16.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.219e-05/0.5001, allocations: 9.562 kB / 484 MB, free: 16.49 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.043e-05/0.5002, allocations: 318.3 kB / 484.3 MB, free: 16.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.5004, allocations: 142.3 kB / 484.5 MB, free: 16.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.5006, allocations: 142.8 kB / 484.6 MB, free: 16.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.501, allocations: 162.2 kB / 484.8 MB, free: 16.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.501, allocations: 0 / 484.8 MB, free: 16.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006887/0.5017, allocations: 399.7 kB / 485.1 MB, free: 16.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.5017, allocations: 5.625 kB / 485.2 MB, free: 16.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.5017, allocations: 0 / 485.2 MB, free: 16.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.5017, allocations: 4 kB / 485.2 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003765/0.5021, allocations: 75.69 kB / 485.2 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.5021, allocations: 0 / 485.2 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.5024, allocations: 35.73 kB / 485.3 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-05/0.5024, allocations: 17.97 kB / 485.3 MB, free: 16.12 MB / 330.7 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 () * 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.0001027/0.5025, allocations: 117.9 kB / 485.4 MB, free: 16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.5026, allocations: 8.219 kB / 485.4 MB, free: 16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009215/0.5035, allocations: 478.5 kB / 485.9 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.5035, allocations: 2.469 kB / 485.9 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.5035, allocations: 4.297 kB / 485.9 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5035, allocations: 0 / 485.9 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.5054, allocations: 0.8596 MB / 486.7 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.5054, allocations: 1.594 kB / 486.7 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002831/0.5057, allocations: 70.3 kB / 486.8 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.5057, allocations: 7.641 kB / 486.8 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.5058, allocations: 19.22 kB / 486.8 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.5058, allocations: 9.906 kB / 486.8 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.5058, allocations: 1.969 kB / 486.8 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005727/0.5064, allocations: 458.3 kB / 487.3 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.658e-05/0.5064, allocations: 86.72 kB / 487.4 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.5064, allocations: 11.69 kB / 487.4 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.5066, allocations: 38.09 kB / 487.4 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.5067, allocations: 14.77 kB / 487.4 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.5067, allocations: 14.72 kB / 487.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.803e-05/0.5067, allocations: 84.8 kB / 487.5 MB, free: 15.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5067, allocations: 0 / 487.5 MB, free: 15.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008835/0.5076, allocations: 354.3 kB / 487.9 MB, free: 14.99 MB / 330.7 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 () * 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.001172/0.5088, allocations: 269.5 kB / 488.1 MB, free: 14.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000422/0.5092, allocations: 269 kB / 488.4 MB, free: 14.83 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5093, allocations: 0 / 488.4 MB, free: 14.83 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.5094, allocations: 120.4 kB / 488.5 MB, free: 14.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.5096, allocations: 8.266 kB / 488.5 MB, free: 14.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009986/0.5106, allocations: 366.1 kB / 488.9 MB, free: 14.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.5108, allocations: 0.6984 MB / 489.6 MB, free: 13.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003393/0.5111, allocations: 94.78 kB / 489.7 MB, free: 13.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.5113, allocations: 46.09 kB / 489.7 MB, free: 13.94 MB / 330.7 MB Notification: Performance of SimCode: time 4.41e-07/0.5113, allocations: 0 / 489.7 MB, free: 13.94 MB / 330.7 MB Notification: Performance of Templates: time 0.01212/0.5234, allocations: 7.614 MB / 497.3 MB, free: 13.35 MB / 330.7 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)