Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005914/0.005914, allocations: 104.9 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.00122/0.00122, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.338/1.338, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.2859/0.2859, allocations: 38 MB / 307.9 MB, free: 10.01 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.001479/0.001479, allocations: 75.89 kB / 433 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2687, allocations: 56.47 MB / 489.5 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001765/0.2705, allocations: 0.5374 MB / 490 MB, free: 19.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006866/0.2712, allocations: 415.2 kB / 490.4 MB, free: 19.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.2713, allocations: 0 / 490.4 MB, free: 19.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.459e-05/0.2713, allocations: 3.938 kB / 490.4 MB, free: 19.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.624e-05/0.2714, allocations: 0 / 490.4 MB, free: 19.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006187/0.272, allocations: 141.3 kB / 490.5 MB, free: 19.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.83e-05/0.2721, allocations: 24.69 kB / 490.6 MB, free: 19.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.26e-05/0.2721, allocations: 3.75 kB / 490.6 MB, free: 19.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.861e-05/0.2722, allocations: 19.34 kB / 490.6 MB, free: 19.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.028e-05/0.2722, allocations: 18.41 kB / 490.6 MB, free: 19.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.2722, allocations: 0 / 490.6 MB, free: 19.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003354/0.2726, allocations: 165 kB / 490.8 MB, free: 19.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.2726, allocations: 2.484 kB / 490.8 MB, free: 19.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.2726, allocations: 16.98 kB / 490.8 MB, free: 19.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.2729, allocations: 126.8 kB / 490.9 MB, free: 19.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2729, allocations: 0 / 490.9 MB, free: 19.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2729, allocations: 0 / 490.9 MB, free: 19.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.2729, allocations: 1.375 kB / 490.9 MB, free: 19.08 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.0004033/0.2733, allocations: 364 kB / 491.3 MB, free: 18.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.2734, allocations: 12.95 kB / 491.3 MB, free: 18.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.2734, allocations: 8.656 kB / 491.3 MB, free: 18.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.736e-05/0.2735, allocations: 179 kB / 491.5 MB, free: 18.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.2735, allocations: 6.219 kB / 491.5 MB, free: 18.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.2736, allocations: 3.875 kB / 491.5 MB, free: 18.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.2737, allocations: 53.42 kB / 491.5 MB, free: 18.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.2737, allocations: 5.406 kB / 491.5 MB, free: 18.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.2737, allocations: 0 / 491.5 MB, free: 18.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.2737, allocations: 9.312 kB / 491.5 MB, free: 18.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.896e-05/0.2738, allocations: 33.16 kB / 491.6 MB, free: 18.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001394/0.274, allocations: 168.9 kB / 491.7 MB, free: 18.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.2742, allocations: 55.66 kB / 491.8 MB, free: 18.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.145e-05/0.2743, allocations: 23.36 kB / 491.8 MB, free: 18.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000255/0.2745, allocations: 112.3 kB / 491.9 MB, free: 18.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.2746, allocations: 40.95 kB / 492 MB, free: 18.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.2746, allocations: 0 / 492 MB, free: 18.03 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.1328/0.4074, allocations: 6.382 MB / 498.3 MB, free: 16.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.4075, allocations: 52.84 kB / 498.4 MB, free: 16.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.569e-05/0.4076, allocations: 105 kB / 498.5 MB, free: 16.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.4076, allocations: 25.7 kB / 498.5 MB, free: 16.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.208e-05/0.4076, allocations: 89.42 kB / 498.6 MB, free: 16.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.117e-05/0.4077, allocations: 58.08 kB / 498.7 MB, free: 16.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.4079, allocations: 84.88 kB / 498.7 MB, free: 16.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.966e-05/0.4079, allocations: 326 kB / 499.1 MB, free: 16.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00049/0.4084, allocations: 223.7 kB / 499.3 MB, free: 16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004968/0.4089, allocations: 234.6 kB / 499.5 MB, free: 15.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001954/0.4109, allocations: 0.5569 MB / 0.4883 GB, free: 15.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4109, allocations: 1.375 kB / 0.4883 GB, free: 15.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001702/0.4126, allocations: 0.6156 MB / 0.4889 GB, free: 15.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.4127, allocations: 8.719 kB / 0.489 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.4127, allocations: 1.188 kB / 0.489 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.4127, allocations: 1.375 kB / 0.489 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006177/0.4133, allocations: 108.5 kB / 0.4891 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.4133, allocations: 0 / 0.4891 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004104/0.4138, allocations: 24.59 kB / 0.4891 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.215e-05/0.4138, allocations: 31.69 kB / 0.4891 GB, free: 15.17 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 0.0001191/0.414, allocations: 128.5 kB / 0.4892 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.18e-05/0.414, allocations: 9.141 kB / 0.4892 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00195/0.416, allocations: 0.724 MB / 0.49 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.416, allocations: 2.25 kB / 0.49 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.416, allocations: 0 / 0.49 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.416, allocations: 1.25 kB / 0.49 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003716/0.4197, allocations: 1.173 MB / 0.4911 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.4198, allocations: 2.156 kB / 0.4911 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005119/0.4203, allocations: 97.72 kB / 0.4912 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.4203, allocations: 4.094 kB / 0.4912 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.501e-05/0.4203, allocations: 29.58 kB / 0.4912 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.4204, allocations: 2.75 kB / 0.4912 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.4204, allocations: 9.312 kB / 0.4912 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.4219, allocations: 0.581 MB / 0.4918 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.526e-05/0.4219, allocations: 88.41 kB / 0.4919 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/0.422, allocations: 3.562 kB / 0.4919 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/0.4224, allocations: 28.31 kB / 0.4919 GB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/0.4224, allocations: 15.83 kB / 0.4919 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.315e-05/0.4225, allocations: 32.39 kB / 0.492 GB, free: 13.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.065e-05/0.4225, allocations: 82.58 kB / 0.4921 GB, free: 13.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4225, allocations: 0 / 0.4921 GB, free: 13.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002119/0.4246, allocations: 0.6511 MB / 0.4927 GB, free: 13.02 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.002828/0.4275, allocations: 310.5 kB / 0.493 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.4286, allocations: 443.5 kB / 0.4934 GB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4286, allocations: 5.219 kB / 0.4934 GB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004682/0.4291, allocations: 208.1 kB / 0.4936 GB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.4293, allocations: 16.3 kB / 0.4936 GB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.4315, allocations: 0.5183 MB / 0.4941 GB, free: 12.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.4316, allocations: 0.7029 MB / 0.4948 GB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003801/0.432, allocations: 122.8 kB / 0.4949 GB, free: 11.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/0.4323, allocations: 88.33 kB / 0.495 GB, free: 11.32 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4323, allocations: 0 / 0.495 GB, free: 11.32 MB / 382.1 MB Notification: Performance of Templates: time 0.07067/0.503, allocations: 57.41 MB / 0.5511 GB, free: 8.023 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1)