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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006462/0.006462, allocations: 104.5 kB / 15.73 MB, free: 6.043 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.00144/0.00144, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.366/1.366, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.2865/0.2865, allocations: 38 MB / 307.9 MB, free: 10.06 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.001468/0.001468, allocations: 68.47 kB / 433 MB, free: 5.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2503, allocations: 56.46 MB / 489.4 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001503/0.2519, allocations: 0.5489 MB / 490 MB, free: 19.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005972/0.2525, allocations: 361.2 kB / 490.4 MB, free: 19.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.893e-05/0.2525, allocations: 3.062 kB / 490.4 MB, free: 19.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.306e-05/0.2526, allocations: 3.938 kB / 490.4 MB, free: 19.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.153e-05/0.2526, allocations: 0 / 490.4 MB, free: 19.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.253, allocations: 110.7 kB / 490.5 MB, free: 19.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.677e-05/0.2531, allocations: 32.02 kB / 490.5 MB, free: 19.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.2531, allocations: 4.312 kB / 490.5 MB, free: 19.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.279e-05/0.2532, allocations: 11.48 kB / 490.5 MB, free: 19.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.584e-05/0.2532, allocations: 21.48 kB / 490.5 MB, free: 19.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.2532, allocations: 0 / 490.5 MB, free: 19.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002179/0.2535, allocations: 123 kB / 490.7 MB, free: 19.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.2535, allocations: 2.891 kB / 490.7 MB, free: 19.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.2535, allocations: 16.28 kB / 490.7 MB, free: 19.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.2537, allocations: 99.77 kB / 490.8 MB, free: 19.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2537, allocations: 3.938 kB / 490.8 MB, free: 19.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2537, allocations: 0 / 490.8 MB, free: 19.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.2537, allocations: 0.6562 kB / 490.8 MB, free: 19.19 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.00037/0.2541, allocations: 359.8 kB / 491.1 MB, free: 18.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2541, allocations: 13.28 kB / 491.1 MB, free: 18.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.2542, allocations: 8.125 kB / 491.1 MB, free: 18.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.258e-05/0.2543, allocations: 170.8 kB / 491.3 MB, free: 18.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.2543, allocations: 2.375 kB / 491.3 MB, free: 18.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.2543, allocations: 8.609 kB / 491.3 MB, free: 18.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.2545, allocations: 56.73 kB / 491.4 MB, free: 18.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.2545, allocations: 1.219 kB / 491.4 MB, free: 18.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.2545, allocations: 5.125 kB / 491.4 MB, free: 18.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2545, allocations: 1 kB / 491.4 MB, free: 18.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.128e-05/0.2546, allocations: 28.53 kB / 491.4 MB, free: 18.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.2547, allocations: 169.8 kB / 491.6 MB, free: 18.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.255, allocations: 63.61 kB / 491.6 MB, free: 18.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.6e-05/0.255, allocations: 27.83 kB / 491.7 MB, free: 18.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002204/0.2552, allocations: 107.7 kB / 491.8 MB, free: 18.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.2553, allocations: 32.5 kB / 491.8 MB, free: 18.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.2553, allocations: 0 / 491.8 MB, free: 18.15 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.04115/0.2964, allocations: 2.579 MB / 494.4 MB, free: 17.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.2965, allocations: 54.41 kB / 494.4 MB, free: 17.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.72e-05/0.2966, allocations: 106.6 kB / 494.5 MB, free: 17.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.2966, allocations: 25.7 kB / 494.6 MB, free: 17.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.9e-05/0.2966, allocations: 86.25 kB / 494.7 MB, free: 17.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.218e-05/0.2967, allocations: 63.14 kB / 494.7 MB, free: 17.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.2968, allocations: 55.56 kB / 494.8 MB, free: 17.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.447e-05/0.2969, allocations: 324.4 kB / 495.1 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/0.2972, allocations: 180.9 kB / 495.3 MB, free: 16.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/0.2976, allocations: 178.2 kB / 495.4 MB, free: 16.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009693/0.2986, allocations: 414.5 kB / 495.8 MB, free: 16.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2986, allocations: 4 kB / 495.8 MB, free: 16.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009799/0.2996, allocations: 460.9 kB / 496.3 MB, free: 16.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2996, allocations: 9.438 kB / 496.3 MB, free: 16.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2996, allocations: 4 kB / 496.3 MB, free: 16.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.2996, allocations: 1.891 kB / 496.3 MB, free: 16.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/0.3, allocations: 70.61 kB / 496.4 MB, free: 16.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.3, allocations: 1.375 kB / 496.4 MB, free: 16.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.3002, allocations: 20.09 kB / 496.4 MB, free: 16.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.771e-05/0.3003, allocations: 15.7 kB / 496.4 MB, free: 16.3 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 8.937e-05/0.3004, allocations: 122.7 kB / 496.5 MB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.3004, allocations: 12.03 kB / 496.5 MB, free: 16.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.3016, allocations: 0.5356 MB / 497.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.3016, allocations: 3.219 kB / 497.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3016, allocations: 480 / 497.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3016, allocations: 1.219 kB / 497.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.3036, allocations: 0.889 MB / 498 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.3036, allocations: 1.406 kB / 498 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002872/0.3039, allocations: 69.22 kB / 498 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.304, allocations: 10.09 kB / 498.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.304, allocations: 18.27 kB / 498.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.304, allocations: 2.484 kB / 498.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.304, allocations: 2.562 kB / 498.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008417/0.3049, allocations: 461.4 kB / 498.5 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.25e-05/0.3049, allocations: 86.83 kB / 498.6 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.3049, allocations: 7.328 kB / 498.6 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.3051, allocations: 20.39 kB / 498.6 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/0.3052, allocations: 11.89 kB / 498.6 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/0.3052, allocations: 20.59 kB / 498.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.494e-05/0.3052, allocations: 88.19 kB / 498.8 MB, free: 14.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3052, allocations: 0 / 498.8 MB, free: 14.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001071/0.3063, allocations: 316 kB / 499.1 MB, free: 14.96 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.001218/0.3076, allocations: 247.7 kB / 499.3 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007823/0.3083, allocations: 340 kB / 499.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3084, allocations: 4 kB / 499.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003222/0.3087, allocations: 144.1 kB / 499.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.309, allocations: 13.22 kB / 499.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.3102, allocations: 415.2 kB / 0.4885 GB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.3104, allocations: 0.6945 MB / 0.4892 GB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002677/0.3106, allocations: 92.31 kB / 0.4892 GB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.3108, allocations: 53.62 kB / 0.4893 GB, free: 13.71 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3108, allocations: 0 / 0.4893 GB, free: 13.71 MB / 382.1 MB Notification: Performance of Templates: time 0.02258/0.3334, allocations: 17.79 MB / 0.5067 GB, free: 4.715 MB / 382.1 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)