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.01134/0.01134, allocations: 165.5 kB / 15.11 MB, free: 5.984 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.449/1.449, allocations: 170.8 MB / 186.6 MB, free: 1.145 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.001646/0.001646, allocations: 111.3 kB / 226.2 MB, free: 10.12 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.3292/0.3292, allocations: 38.05 MB / 303.7 MB, free: 42.29 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003969, allocations: 8 kB / 362.9 MB, free: 5.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1091, allocations: 48.71 MB / 411.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3405/0.4497, allocations: 73.16 MB / 484.7 MB, free: 14.63 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.45, allocations: 62.59 kB / 484.8 MB, free: 14.6 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004504/0.4545, allocations: 1.794 MB / 486.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4545, allocations: 0 / 486.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.4545, allocations: 0 / 486.6 MB, free: 13.07 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.0002664/0.4548, allocations: 365.8 kB / 486.9 MB, free: 12.67 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.4549, allocations: 12.03 kB / 487 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.4549, allocations: 0.5625 kB / 487 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.642e-05/0.455, allocations: 170.3 kB / 487.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.455, allocations: 8.25 kB / 487.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.455, allocations: 4 kB / 487.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.4552, allocations: 61.42 kB / 487.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.4552, allocations: 3.906 kB / 487.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.4552, allocations: 0 / 487.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4552, allocations: 4 kB / 487.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.961e-05/0.4553, allocations: 24.7 kB / 487.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/0.4554, allocations: 173.3 kB / 487.4 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.4556, allocations: 54.47 kB / 487.4 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001997/0.4558, allocations: 113.1 kB / 487.6 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.4559, allocations: 38.42 kB / 487.6 MB, free: 11.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.4559, allocations: 0 / 487.6 MB, free: 11.93 MB / 330.7 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.03651/0.4924, allocations: 2.819 MB / 490.4 MB, free: 9.348 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.4925, allocations: 51.41 kB / 490.5 MB, free: 9.285 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.874e-05/0.4925, allocations: 100.4 kB / 490.6 MB, free: 9.184 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.4926, allocations: 25.7 kB / 490.6 MB, free: 9.152 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.487e-05/0.4926, allocations: 83.58 kB / 490.7 MB, free: 9.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.224e-05/0.4927, allocations: 65.19 kB / 490.7 MB, free: 9.012 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/0.4927, allocations: 7.312 kB / 490.7 MB, free: 9.008 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.586e-05/0.4928, allocations: 321.8 kB / 491.1 MB, free: 8.688 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003307/0.4931, allocations: 190.6 kB / 491.2 MB, free: 8.562 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.4934, allocations: 195.8 kB / 491.4 MB, free: 8.434 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004365/0.4939, allocations: 213.4 kB / 491.6 MB, free: 8.297 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.4939, allocations: 0 / 491.6 MB, free: 8.297 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008698/0.4948, allocations: 498.8 kB / 492.1 MB, free: 7.945 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.4948, allocations: 4 kB / 492.1 MB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.4948, allocations: 0 / 492.1 MB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.4948, allocations: 4 kB / 492.1 MB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/0.4952, allocations: 83.38 kB / 492.2 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.4952, allocations: 4 kB / 492.2 MB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.4954, allocations: 23.97 kB / 492.2 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.4954, allocations: 19.48 kB / 492.3 MB, free: 7.816 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 () * 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 9.65e-05/0.4956, allocations: 122.6 kB / 492.4 MB, free: 7.691 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.4956, allocations: 7.906 kB / 492.4 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.4967, allocations: 0.5704 MB / 493 MB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.4967, allocations: 8.453 kB / 493 MB, free: 7.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4967, allocations: 0 / 493 MB, free: 7.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4968, allocations: 0 / 493 MB, free: 7.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.4987, allocations: 0.9313 MB / 493.9 MB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4987, allocations: 4.031 kB / 493.9 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/0.499, allocations: 79.81 kB / 494 MB, free: 6.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.499, allocations: 7.953 kB / 494 MB, free: 6.262 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.88e-05/0.499, allocations: 15.56 kB / 494 MB, free: 6.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.499, allocations: 0 / 494 MB, free: 6.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.499, allocations: 7.984 kB / 494 MB, free: 6.242 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000769/0.4998, allocations: 0.5464 MB / 494.6 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.277e-05/0.4998, allocations: 89.02 kB / 494.6 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.4999, allocations: 7.188 kB / 494.7 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.5001, allocations: 31.47 kB / 494.7 MB, free: 5.555 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.356e-05/0.5001, allocations: 15.31 kB / 494.7 MB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.5002, allocations: 16 kB / 494.7 MB, free: 5.527 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.465e-05/0.5002, allocations: 94.58 kB / 494.8 MB, free: 5.438 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5002, allocations: 0 / 494.8 MB, free: 5.438 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009303/0.5011, allocations: 341.8 kB / 495.1 MB, free: 5.109 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 () * 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.001195/0.5023, allocations: 274.5 kB / 495.4 MB, free: 4.836 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007021/0.503, allocations: 371.8 kB / 495.8 MB, free: 4.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.5031, allocations: 0 / 495.8 MB, free: 4.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002955/0.5034, allocations: 163.4 kB / 495.9 MB, free: 4.438 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.5035, allocations: 15.5 kB / 495.9 MB, free: 4.426 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.5047, allocations: 483.3 kB / 496.4 MB, free: 3.945 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.5049, allocations: 0.7006 MB / 497.1 MB, free: 3.215 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003825/0.5053, allocations: 92.88 kB / 497.2 MB, free: 3.121 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.5054, allocations: 51.41 kB / 497.3 MB, free: 3.07 MB / 330.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5054, allocations: 0 / 497.3 MB, free: 3.07 MB / 330.7 MB Notification: Performance of Templates: time 0.01221/0.5177, allocations: 7.626 MB / 0.4931 GB, free: 11.48 MB / 346.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)