Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008294/0.008294, allocations: 101 kB / 15.73 MB, free: 6.492 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.001267/0.001267, allocations: 195 kB / 16.67 MB, free: 6.379 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.431/1.431, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.2912/0.2912, allocations: 39.94 MB / 309.8 MB, free: 9.457 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.001469/0.001469, allocations: 79.88 kB / 435.8 MB, free: 2.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2466, allocations: 56.87 MB / 492.6 MB, free: 19.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001403/0.2481, allocations: 0.538 MB / 493.2 MB, free: 19.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005773/0.2487, allocations: 366 kB / 493.5 MB, free: 19.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.468e-05/0.2487, allocations: 0 / 493.5 MB, free: 19.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.233e-05/0.2487, allocations: 3.938 kB / 493.5 MB, free: 19.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.222e-05/0.2488, allocations: 1.062 kB / 493.5 MB, free: 19.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.2491, allocations: 115.9 kB / 493.7 MB, free: 19.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.165e-05/0.2492, allocations: 24.66 kB / 493.7 MB, free: 19.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.277e-05/0.2492, allocations: 4.016 kB / 493.7 MB, free: 19.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.854e-05/0.2493, allocations: 9.891 kB / 493.7 MB, free: 19.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.046e-05/0.2493, allocations: 21.36 kB / 493.7 MB, free: 19.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.2493, allocations: 1.062 kB / 493.7 MB, free: 19.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002083/0.2496, allocations: 119.1 kB / 493.8 MB, free: 18.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.2496, allocations: 10.47 kB / 493.8 MB, free: 18.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.2496, allocations: 16.86 kB / 493.9 MB, free: 18.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.2498, allocations: 87.47 kB / 493.9 MB, free: 18.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2498, allocations: 9.188 kB / 494 MB, free: 18.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2498, allocations: 0 / 494 MB, free: 18.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.2498, allocations: 0 / 494 MB, free: 18.93 MB / 382.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.0003205/0.2501, allocations: 364.1 kB / 494.3 MB, free: 18.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.2502, allocations: 16.95 kB / 494.3 MB, free: 18.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.2502, allocations: 3.688 kB / 494.3 MB, free: 18.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.909e-05/0.2503, allocations: 180.1 kB / 494.5 MB, free: 18.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.2503, allocations: 1.625 kB / 494.5 MB, free: 18.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.2503, allocations: 7.625 kB / 494.5 MB, free: 18.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.2504, allocations: 60.84 kB / 494.6 MB, free: 18.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2504, allocations: 2.031 kB / 494.6 MB, free: 18.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.2505, allocations: 5.031 kB / 494.6 MB, free: 18.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2505, allocations: 1.031 kB / 494.6 MB, free: 18.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.419e-05/0.2505, allocations: 29.47 kB / 494.6 MB, free: 18.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001224/0.2507, allocations: 173.2 kB / 494.8 MB, free: 18.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.2508, allocations: 54.8 kB / 494.8 MB, free: 18.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.369e-05/0.2509, allocations: 31.47 kB / 494.9 MB, free: 18.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00022/0.2511, allocations: 105 kB / 495 MB, free: 17.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.258e-05/0.2511, allocations: 35.97 kB / 495 MB, free: 17.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.2512, allocations: 0 / 495 MB, free: 17.88 MB / 382.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.04241/0.2936, allocations: 2.583 MB / 497.6 MB, free: 17.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.2936, allocations: 57.78 kB / 497.6 MB, free: 17.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.595e-05/0.2937, allocations: 106.2 kB / 497.7 MB, free: 17.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.2937, allocations: 30.8 kB / 497.8 MB, free: 16.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.05e-05/0.2938, allocations: 81.89 kB / 497.9 MB, free: 16.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.001e-05/0.2938, allocations: 60.02 kB / 497.9 MB, free: 16.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.294, allocations: 59.25 kB / 498 MB, free: 16.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.719e-05/0.294, allocations: 322.9 kB / 498.3 MB, free: 16.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/0.2944, allocations: 179.3 kB / 498.5 MB, free: 16.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.2948, allocations: 169.9 kB / 498.6 MB, free: 16.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.2958, allocations: 418.5 kB / 499 MB, free: 16.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2958, allocations: 0 / 499 MB, free: 16.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001085/0.2969, allocations: 463.5 kB / 499.5 MB, free: 16.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.2969, allocations: 9.562 kB / 499.5 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.297, allocations: 0 / 499.5 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.297, allocations: 2.344 kB / 499.5 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003851/0.2974, allocations: 72.25 kB / 499.6 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.2974, allocations: 5.375 kB / 499.6 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.2976, allocations: 13.55 kB / 499.6 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/0.2977, allocations: 21.48 kB / 499.6 MB, free: 16.02 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.856e-05/0.2978, allocations: 121.9 kB / 499.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.2978, allocations: 7.938 kB / 499.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.2991, allocations: 0.5409 MB / 0.4886 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2991, allocations: 1.562 kB / 0.4886 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.2991, allocations: 0.5156 kB / 0.4886 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.2991, allocations: 2.234 kB / 0.4886 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.3012, allocations: 0.887 MB / 0.4894 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3012, allocations: 1.375 kB / 0.4894 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.3015, allocations: 69.45 kB / 0.4895 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.924e-06/0.3015, allocations: 3.641 kB / 0.4895 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/0.3015, allocations: 18.05 kB / 0.4895 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.3016, allocations: 2.75 kB / 0.4895 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.3016, allocations: 5.969 kB / 0.4895 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009472/0.3025, allocations: 461.2 kB / 0.49 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.3026, allocations: 86.41 kB / 0.49 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.3026, allocations: 9.438 kB / 0.4901 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.3028, allocations: 23.06 kB / 0.4901 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/0.3028, allocations: 16.55 kB / 0.4901 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.3029, allocations: 16.84 kB / 0.4901 GB, free: 14.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.643e-05/0.3029, allocations: 87.28 kB / 0.4902 GB, free: 14.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3029, allocations: 0 / 0.4902 GB, free: 14.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001004/0.3039, allocations: 313.1 kB / 0.4905 GB, free: 14.68 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 (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.001266/0.3052, allocations: 245.9 kB / 0.4907 GB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008593/0.3061, allocations: 349 kB / 0.4911 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.3061, allocations: 1.312 kB / 0.4911 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003442/0.3064, allocations: 152 kB / 0.4912 GB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.3067, allocations: 12.55 kB / 0.4912 GB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.3079, allocations: 408.6 kB / 0.4916 GB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.308, allocations: 0.6973 MB / 0.4923 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002792/0.3083, allocations: 98.16 kB / 0.4924 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.3085, allocations: 47.59 kB / 0.4924 GB, free: 13.4 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3085, allocations: 0 / 0.4924 GB, free: 13.4 MB / 382.1 MB Notification: Performance of Templates: time 0.02036/0.3289, allocations: 17.93 MB / 0.5099 GB, free: 2.488 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1)