Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009188/0.0009188, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.005014/0.005015, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.315/1.315, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.2925/0.2925, allocations: 38.03 MB / 308.8 MB, free: 10.27 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.0005149/0.000515, allocations: 15.98 kB / 377 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09001/0.09053, allocations: 57.52 MB / 434.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0005515/0.09112, allocations: 249.9 kB / 434.8 MB, free: 4.961 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000329/0.09147, allocations: 95.78 kB / 434.9 MB, free: 4.867 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.262e-05/0.09151, allocations: 0 / 434.9 MB, free: 4.867 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.09154, allocations: 3.938 kB / 434.9 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.619e-05/0.09157, allocations: 0 / 434.9 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.09178, allocations: 15.98 kB / 434.9 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.286e-05/0.09185, allocations: 4 kB / 434.9 MB, free: 4.844 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.212e-05/0.09192, allocations: 7.984 kB / 434.9 MB, free: 4.836 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.35e-05/0.09196, allocations: 7.938 kB / 434.9 MB, free: 4.828 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.339e-05/0.09203, allocations: 4 kB / 434.9 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.09205, allocations: 0 / 434.9 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.948e-05/0.09216, allocations: 35.95 kB / 435 MB, free: 4.789 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.09218, allocations: 0 / 435 MB, free: 4.789 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.901e-05/0.09223, allocations: 37.64 kB / 435 MB, free: 4.746 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.09234, allocations: 23.89 kB / 435 MB, free: 4.723 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/0.09236, allocations: 8 kB / 435 MB, free: 4.715 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.095e-06/0.09237, allocations: 0 / 435 MB, free: 4.715 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.09238, allocations: 0 / 435 MB, free: 4.715 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004138/0.0928, allocations: 323.6 kB / 435.4 MB, free: 4.348 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.09285, allocations: 8.031 kB / 435.4 MB, free: 4.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.09289, allocations: 0.9375 kB / 435.4 MB, free: 4.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.09301, allocations: 176.5 kB / 435.5 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.09303, allocations: 384 / 435.5 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.09305, allocations: 8.375 kB / 435.6 MB, free: 4.121 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.09318, allocations: 55.97 kB / 435.6 MB, free: 4.055 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.0932, allocations: 4.172 kB / 435.6 MB, free: 4.051 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.09321, allocations: 3.938 kB / 435.6 MB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.09322, allocations: 7.938 kB / 435.6 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.078e-05/0.09328, allocations: 15.92 kB / 435.6 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.09362, allocations: 317.1 kB / 435.9 MB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.411e-05/0.0937, allocations: 34.55 kB / 436 MB, free: 3.617 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.158e-05/0.09375, allocations: 16.86 kB / 436 MB, free: 3.598 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.09378, allocations: 0 / 436 MB, free: 3.598 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.09381, allocations: 34.5 kB / 436 MB, free: 3.555 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.09382, allocations: 4 kB / 436 MB, free: 3.551 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001928/0.09402, allocations: 53.78 kB / 436.1 MB, free: 3.492 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.09405, allocations: 55.41 kB / 436.1 MB, free: 3.426 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.061e-05/0.09414, allocations: 97.84 kB / 436.2 MB, free: 3.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.09416, allocations: 25.7 kB / 436.3 MB, free: 3.289 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.495e-05/0.09421, allocations: 88.05 kB / 436.3 MB, free: 3.199 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.09423, allocations: 3.906 kB / 436.4 MB, free: 3.195 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.09426, allocations: 17.66 kB / 436.4 MB, free: 3.172 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.09438, allocations: 314.8 kB / 436.7 MB, free: 2.855 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.392e-05/0.09441, allocations: 8.109 kB / 436.7 MB, free: 2.848 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.101e-05/0.09445, allocations: 25.66 kB / 436.7 MB, free: 2.816 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.156e-05/0.09452, allocations: 25.72 kB / 436.7 MB, free: 2.785 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.09453, allocations: 0 / 436.7 MB, free: 2.785 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.557e-05/0.09463, allocations: 65.47 kB / 436.8 MB, free: 2.715 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.09465, allocations: 11.58 kB / 436.8 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.09467, allocations: 4 kB / 436.8 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.09468, allocations: 0 / 436.8 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.172e-05/0.09475, allocations: 12.03 kB / 436.8 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.09476, allocations: 0 / 436.8 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.291e-05/0.09479, allocations: 3.938 kB / 436.8 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.0948, allocations: 0 / 436.8 MB, free: 2.688 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 6.599e-05/0.09488, allocations: 117.8 kB / 436.9 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.0949, allocations: 0 / 436.9 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.09503, allocations: 65.11 kB / 437 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.09504, allocations: 0 / 437 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.09505, allocations: 0 / 437 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.09506, allocations: 4 kB / 437 MB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.09521, allocations: 169.6 kB / 437.2 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.09522, allocations: 0 / 437.2 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.34e-05/0.09528, allocations: 8 kB / 437.2 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.09529, allocations: 0 / 437.2 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.0953, allocations: 0 / 437.2 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.0953, allocations: 192 / 437.2 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.09531, allocations: 0 / 437.2 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.09544, allocations: 163.3 kB / 437.3 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.09549, allocations: 85.28 kB / 437.4 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.09551, allocations: 0 / 437.4 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.803e-05/0.09556, allocations: 7.984 kB / 437.4 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.09559, allocations: 7.984 kB / 437.4 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.0956, allocations: 0 / 437.4 MB, free: 1.969 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.918e-05/0.09564, allocations: 75.28 kB / 437.5 MB, free: 1.895 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.745e-06/0.09564, allocations: 0 / 437.5 MB, free: 1.895 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002186/0.09587, allocations: 11.94 kB / 437.5 MB, free: 1.883 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.000115/0.09599, allocations: 111.3 kB / 437.6 MB, free: 1.766 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.04e-05/0.09608, allocations: 27.92 kB / 437.7 MB, free: 1.738 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.09609, allocations: 0 / 437.7 MB, free: 1.738 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.558e-05/0.09612, allocations: 12 kB / 437.7 MB, free: 1.727 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.09633, allocations: 7.922 kB / 437.7 MB, free: 1.719 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002075/0.09654, allocations: 114.8 kB / 437.8 MB, free: 1.578 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.09676, allocations: 0.6771 MB / 438.5 MB, free: 0.875 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.168e-05/0.0968, allocations: 3.984 kB / 438.5 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.947e-05/0.09682, allocations: 11.44 kB / 438.5 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.09683, allocations: 0 / 438.5 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of Templates: time 0.002097/0.09893, allocations: 422.1 kB / 438.9 MB, free: 460 kB / 366.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) Environment - environmentSimulation: