Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004856/0.004856, allocations: 102 kB / 15.73 MB, free: 6.039 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.00106/0.00106, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.343/1.343, allocations: 205.1 MB / 222.5 MB, free: 4.379 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.2949/0.2949, allocations: 38 MB / 307.9 MB, free: 10.45 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.001643/0.001643, allocations: 63.91 kB / 433 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2795, allocations: 56.47 MB / 489.5 MB, free: 20.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001846/0.2814, allocations: 0.538 MB / 490 MB, free: 19.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007749/0.2822, allocations: 416.5 kB / 490.4 MB, free: 19.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.876e-05/0.2823, allocations: 0 / 490.4 MB, free: 19.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.427e-05/0.2823, allocations: 0 / 490.4 MB, free: 19.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.898e-05/0.2823, allocations: 3.938 kB / 490.4 MB, free: 19.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004703/0.2828, allocations: 135 kB / 490.5 MB, free: 19.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.047e-05/0.2829, allocations: 31.25 kB / 490.6 MB, free: 19.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.717e-05/0.2829, allocations: 4.125 kB / 490.6 MB, free: 19.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.468e-05/0.283, allocations: 20.2 kB / 490.6 MB, free: 19.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.244e-05/0.283, allocations: 22.39 kB / 490.6 MB, free: 19.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.283, allocations: 2.25 kB / 490.6 MB, free: 19.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002871/0.2833, allocations: 161.4 kB / 490.8 MB, free: 19.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.2834, allocations: 11.48 kB / 490.8 MB, free: 19.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.2834, allocations: 18.62 kB / 490.8 MB, free: 19.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.2836, allocations: 128.3 kB / 490.9 MB, free: 19.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2836, allocations: 0 / 490.9 MB, free: 19.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.2836, allocations: 0 / 490.9 MB, free: 19.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.2836, allocations: 1.219 kB / 490.9 MB, free: 19.2 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003455/0.284, allocations: 364.5 kB / 491.3 MB, free: 18.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.284, allocations: 13.23 kB / 491.3 MB, free: 18.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.2841, allocations: 12.09 kB / 491.3 MB, free: 18.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.068e-05/0.2842, allocations: 170.5 kB / 491.5 MB, free: 18.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.2842, allocations: 2.688 kB / 491.5 MB, free: 18.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.2842, allocations: 9.562 kB / 491.5 MB, free: 18.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.2844, allocations: 60.52 kB / 491.5 MB, free: 18.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.2844, allocations: 9.562 kB / 491.6 MB, free: 18.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.2844, allocations: 1.734 kB / 491.6 MB, free: 18.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2844, allocations: 5.219 kB / 491.6 MB, free: 18.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.351e-05/0.2845, allocations: 52.86 kB / 491.6 MB, free: 18.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.2847, allocations: 172.6 kB / 491.8 MB, free: 18.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.2848, allocations: 86.95 kB / 491.9 MB, free: 18.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.2849, allocations: 30.23 kB / 491.9 MB, free: 18.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002359/0.2851, allocations: 100.9 kB / 492 MB, free: 18.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.2851, allocations: 37.17 kB / 492 MB, free: 18.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.213e-06/0.2852, allocations: 0 / 492 MB, free: 18.14 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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1399/0.4251, allocations: 5.624 MB / 497.7 MB, free: 17.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.4251, allocations: 57.59 kB / 497.7 MB, free: 17.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.926e-05/0.4252, allocations: 91.39 kB / 497.8 MB, free: 17.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.4252, allocations: 31.05 kB / 497.8 MB, free: 17.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.444e-05/0.4252, allocations: 84.45 kB / 497.9 MB, free: 17.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.42e-05/0.4253, allocations: 75.91 kB / 498 MB, free: 16.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.126e-05/0.4254, allocations: 58.64 kB / 498 MB, free: 16.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.151e-05/0.4255, allocations: 321 kB / 498.4 MB, free: 16.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.4258, allocations: 114.5 kB / 498.5 MB, free: 16.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003226/0.4261, allocations: 119.1 kB / 498.6 MB, free: 16.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.4275, allocations: 322.2 kB / 498.9 MB, free: 16.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.4275, allocations: 0 / 498.9 MB, free: 16.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001115/0.4286, allocations: 359.6 kB / 499.2 MB, free: 16.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.4286, allocations: 4.125 kB / 499.3 MB, free: 16.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4286, allocations: 1.156 kB / 499.3 MB, free: 16.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.4286, allocations: 5.188 kB / 499.3 MB, free: 16.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.429, allocations: 81.56 kB / 499.3 MB, free: 16.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.429, allocations: 5.156 kB / 499.3 MB, free: 16.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.4292, allocations: 24.94 kB / 499.4 MB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.4293, allocations: 23.45 kB / 499.4 MB, free: 16.11 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 (23): * Single equations (assignments): 23 * 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.26e-05/0.4293, allocations: 124.4 kB / 499.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.4294, allocations: 8.125 kB / 499.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.4307, allocations: 423.6 kB / 499.9 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.4307, allocations: 3.188 kB / 499.9 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4307, allocations: 3.984 kB / 499.9 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4307, allocations: 0 / 499.9 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002011/0.4328, allocations: 0.7752 MB / 0.489 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.4328, allocations: 5.5 kB / 0.489 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/0.433, allocations: 76.67 kB / 0.4891 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.4331, allocations: 1.125 kB / 0.4891 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.4331, allocations: 15.73 kB / 0.4891 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.4331, allocations: 6.062 kB / 0.4891 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4331, allocations: 0.9688 kB / 0.4891 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.4342, allocations: 441.4 kB / 0.4895 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.992e-05/0.4342, allocations: 87.7 kB / 0.4896 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.4342, allocations: 5.25 kB / 0.4896 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.4344, allocations: 21.34 kB / 0.4896 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.407e-05/0.4344, allocations: 19.42 kB / 0.4896 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.4345, allocations: 15.83 kB / 0.4896 GB, free: 14.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.554e-05/0.4345, allocations: 75.28 kB / 0.4897 GB, free: 14.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4345, allocations: 1.5 kB / 0.4897 GB, free: 14.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001783/0.4363, allocations: 0.626 MB / 0.4903 GB, free: 14.61 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.002923/0.4392, allocations: 297.9 kB / 0.4906 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007718/0.44, allocations: 263.7 kB / 0.4909 GB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.44, allocations: 0 / 0.4909 GB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003394/0.4404, allocations: 136.3 kB / 0.491 GB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.4406, allocations: 10.56 kB / 0.491 GB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000874/0.4415, allocations: 337.7 kB / 0.4913 GB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.4416, allocations: 0.6954 MB / 0.492 GB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002253/0.4419, allocations: 78.05 kB / 0.4921 GB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.442, allocations: 44.42 kB / 0.4921 GB, free: 13.27 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.442, allocations: 0 / 0.4921 GB, free: 13.27 MB / 382.1 MB Notification: Performance of Templates: time 0.06388/0.5059, allocations: 53.96 MB / 0.5448 GB, free: 14.48 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1)