Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.008381/0.008381, allocations: 97.64 kB / 15.73 MB, free: 6.047 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.00181/0.00181, allocations: 196.8 kB / 16.68 MB, free: 5.969 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.549/1.549, allocations: 205.1 MB / 222.6 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.3115/0.3115, allocations: 39.95 MB / 309.9 MB, free: 9.371 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.001399/0.001399, allocations: 67.91 kB / 435.8 MB, free: 2.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.256, allocations: 56.88 MB / 492.6 MB, free: 19.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001613/0.2576, allocations: 0.5479 MB / 493.2 MB, free: 19.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007207/0.2584, allocations: 400.2 kB / 493.6 MB, free: 18.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.72e-05/0.2584, allocations: 3.938 kB / 493.6 MB, free: 18.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.856e-05/0.2585, allocations: 7.938 kB / 493.6 MB, free: 18.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.828e-05/0.2585, allocations: 4.812 kB / 493.6 MB, free: 18.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004829/0.259, allocations: 134.8 kB / 493.7 MB, free: 18.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.839e-05/0.259, allocations: 21.78 kB / 493.8 MB, free: 18.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.701e-05/0.2591, allocations: 1.891 kB / 493.8 MB, free: 18.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.425e-05/0.2591, allocations: 19.83 kB / 493.8 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.363e-05/0.2592, allocations: 16.16 kB / 493.8 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.2592, allocations: 2.625 kB / 493.8 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002813/0.2595, allocations: 168.9 kB / 494 MB, free: 18.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.2595, allocations: 10.5 kB / 494 MB, free: 18.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.101e-05/0.2595, allocations: 9.938 kB / 494 MB, free: 18.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.2598, allocations: 123.2 kB / 494.1 MB, free: 18.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2598, allocations: 0 / 494.1 MB, free: 18.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2598, allocations: 1.125 kB / 494.1 MB, free: 18.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.2598, allocations: 0 / 494.1 MB, free: 18.66 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.000402/0.2602, allocations: 377.9 kB / 494.5 MB, free: 18.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.2602, allocations: 13.58 kB / 494.5 MB, free: 18.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.2603, allocations: 7 kB / 494.5 MB, free: 18.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.228e-05/0.2604, allocations: 172.2 kB / 494.7 MB, free: 18.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.2604, allocations: 5.344 kB / 494.7 MB, free: 18.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.2604, allocations: 4.969 kB / 494.7 MB, free: 18.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.2606, allocations: 52.89 kB / 494.7 MB, free: 18.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.2606, allocations: 5.75 kB / 494.7 MB, free: 18.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.2606, allocations: 4 kB / 494.7 MB, free: 18.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.2606, allocations: 1.062 kB / 494.7 MB, free: 18.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.016e-05/0.2607, allocations: 28.81 kB / 494.8 MB, free: 18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.2609, allocations: 178 kB / 494.9 MB, free: 17.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.2611, allocations: 54.42 kB / 495 MB, free: 17.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.762e-05/0.2612, allocations: 27.67 kB / 495 MB, free: 17.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002701/0.2614, allocations: 109.9 kB / 495.1 MB, free: 17.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.334e-05/0.2615, allocations: 31.17 kB / 495.1 MB, free: 17.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.2615, allocations: 5.75 kB / 495.2 MB, free: 17.61 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.1374/0.3988, allocations: 6.393 MB / 0.4898 GB, free: 15.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.3989, allocations: 53.53 kB / 0.4898 GB, free: 15.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.445e-05/0.399, allocations: 100.4 kB / 0.4899 GB, free: 15.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.399, allocations: 30.83 kB / 0.49 GB, free: 15.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.981e-05/0.3991, allocations: 84.12 kB / 0.49 GB, free: 15.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.151e-05/0.3991, allocations: 63.59 kB / 0.4901 GB, free: 15.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.3993, allocations: 89.41 kB / 0.4902 GB, free: 15.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.342e-05/0.3993, allocations: 323.9 kB / 0.4905 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005108/0.3999, allocations: 224.9 kB / 0.4907 GB, free: 14.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005252/0.4004, allocations: 235.3 kB / 0.4909 GB, free: 14.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/0.4024, allocations: 0.5569 MB / 0.4915 GB, free: 14.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.4024, allocations: 0 / 0.4915 GB, free: 14.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00177/0.4042, allocations: 0.6132 MB / 0.4921 GB, free: 13.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.4042, allocations: 4.969 kB / 0.4921 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.4043, allocations: 5.188 kB / 0.4921 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.4043, allocations: 0 / 0.4921 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006137/0.4049, allocations: 104.9 kB / 0.4922 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.4049, allocations: 1.094 kB / 0.4922 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004002/0.4053, allocations: 32.98 kB / 0.4922 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.875e-05/0.4054, allocations: 31.09 kB / 0.4923 GB, free: 13.76 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.0001248/0.4055, allocations: 125.8 kB / 0.4924 GB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-05/0.4056, allocations: 8.266 kB / 0.4924 GB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002014/0.4076, allocations: 0.7273 MB / 0.4931 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.4076, allocations: 6.672 kB / 0.4931 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.4076, allocations: 0 / 0.4931 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4077, allocations: 5.406 kB / 0.4931 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0038/0.4115, allocations: 1.174 MB / 0.4942 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.4115, allocations: 1.531 kB / 0.4943 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005246/0.412, allocations: 94.33 kB / 0.4943 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.936e-06/0.412, allocations: 2.5 kB / 0.4943 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.868e-05/0.4121, allocations: 29.45 kB / 0.4944 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/0.4121, allocations: 10.06 kB / 0.4944 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.4121, allocations: 2.312 kB / 0.4944 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.4137, allocations: 0.5852 MB / 0.495 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.584e-05/0.4138, allocations: 84.5 kB / 0.495 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.436e-05/0.4138, allocations: 7.188 kB / 0.495 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.4142, allocations: 25.36 kB / 0.4951 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.4143, allocations: 18.48 kB / 0.4951 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.472e-05/0.4143, allocations: 29.17 kB / 0.4951 GB, free: 11.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.699e-05/0.4144, allocations: 78.78 kB / 0.4952 GB, free: 11.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4144, allocations: 0 / 0.4952 GB, free: 11.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002056/0.4164, allocations: 0.6544 MB / 0.4958 GB, free: 11.61 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.003153/0.4196, allocations: 305.5 kB / 0.4961 GB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.4207, allocations: 458.1 kB / 0.4966 GB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4207, allocations: 4 kB / 0.4966 GB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004912/0.4212, allocations: 201.3 kB / 0.4967 GB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.4215, allocations: 16.61 kB / 0.4968 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.4237, allocations: 0.5198 MB / 0.4973 GB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.4238, allocations: 0.6943 MB / 0.498 GB, free: 10 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004213/0.4243, allocations: 132.4 kB / 0.4981 GB, free: 9.945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/0.4246, allocations: 88.81 kB / 0.4982 GB, free: 9.898 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4246, allocations: 0 / 0.4982 GB, free: 9.898 MB / 382.1 MB Notification: Performance of Templates: time 0.068/0.4926, allocations: 57.39 MB / 0.5542 GB, free: 4.836 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1)