Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.0015/0.0015, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.381/1.381, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.2943/0.2943, allocations: 39.94 MB / 309.7 MB, free: 9.316 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.002558/0.002558, allocations: 67.89 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1077, allocations: 56.88 MB / 434.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001796/0.1096, allocations: 0.5451 MB / 435 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007301/0.1103, allocations: 410.7 kB / 435.4 MB, free: 2.734 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.854e-05/0.1104, allocations: 3.938 kB / 435.4 MB, free: 2.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.465e-05/0.1104, allocations: 0 / 435.4 MB, free: 2.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.567e-05/0.1104, allocations: 3.938 kB / 435.4 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004585/0.1109, allocations: 143.9 kB / 435.6 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.239e-05/0.1109, allocations: 19.98 kB / 435.6 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.111, allocations: 7.938 kB / 435.6 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.544e-05/0.111, allocations: 15.94 kB / 435.6 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.522e-05/0.1111, allocations: 27.91 kB / 435.7 MB, free: 2.516 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.1111, allocations: 0 / 435.7 MB, free: 2.516 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002639/0.1114, allocations: 159.8 kB / 435.8 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.1114, allocations: 15.92 kB / 435.8 MB, free: 2.344 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.1114, allocations: 15.92 kB / 435.8 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.1116, allocations: 119.8 kB / 436 MB, free: 2.211 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1116, allocations: 0 / 436 MB, free: 2.211 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1116, allocations: 0 / 436 MB, free: 2.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.1117, allocations: 0 / 436 MB, free: 2.211 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004246/0.1121, allocations: 371 kB / 436.3 MB, free: 1.805 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.1121, allocations: 19.89 kB / 436.3 MB, free: 1.785 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.1122, allocations: 4.844 kB / 436.3 MB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.1123, allocations: 180.2 kB / 436.5 MB, free: 1.566 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.1123, allocations: 4.375 kB / 436.5 MB, free: 1.562 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.1124, allocations: 4.375 kB / 436.5 MB, free: 1.559 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.1125, allocations: 66.23 kB / 436.6 MB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.1125, allocations: 3.938 kB / 436.6 MB, free: 1.484 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.1125, allocations: 0 / 436.6 MB, free: 1.484 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1125, allocations: 0 / 436.6 MB, free: 1.484 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.672e-05/0.1126, allocations: 59.95 kB / 436.7 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.1128, allocations: 173.6 kB / 436.8 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.113, allocations: 86.48 kB / 436.9 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.614e-05/0.113, allocations: 24.86 kB / 436.9 MB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003455/0.1134, allocations: 105.1 kB / 437 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.1134, allocations: 38.56 kB / 437.1 MB, free: 0.918 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.1134, allocations: 3.938 kB / 437.1 MB, free: 0.9141 MB / 366.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.1827/0.2961, allocations: 5.615 MB / 442.7 MB, free: 11.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.2962, allocations: 55.41 kB / 442.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.893e-05/0.2963, allocations: 97.86 kB / 442.8 MB, free: 11.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.2963, allocations: 29.64 kB / 442.9 MB, free: 11.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.2964, allocations: 80.52 kB / 442.9 MB, free: 10.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.318e-05/0.2964, allocations: 74.91 kB / 443 MB, free: 10.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.2965, allocations: 61.67 kB / 443.1 MB, free: 10.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.2967, allocations: 318.8 kB / 443.4 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003558/0.297, allocations: 120 kB / 443.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.2974, allocations: 115.7 kB / 443.6 MB, free: 10.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/0.2989, allocations: 316.6 kB / 443.9 MB, free: 9.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2989, allocations: 0 / 443.9 MB, free: 9.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001219/0.3001, allocations: 361.6 kB / 444.3 MB, free: 9.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3002, allocations: 11.12 kB / 444.3 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3002, allocations: 0 / 444.3 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3002, allocations: 0 / 444.3 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003972/0.3006, allocations: 91.84 kB / 444.4 MB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.3006, allocations: 0 / 444.4 MB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.3008, allocations: 23.97 kB / 444.4 MB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.3009, allocations: 19.92 kB / 444.4 MB, free: 9.465 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 0.0001149/0.301, allocations: 125.8 kB / 444.6 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.301, allocations: 11.91 kB / 444.6 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.3025, allocations: 421.9 kB / 445 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.3025, allocations: 4 kB / 445 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3025, allocations: 3.984 kB / 445 MB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3025, allocations: 0 / 445 MB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/0.3048, allocations: 0.7882 MB / 445.8 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3048, allocations: 0 / 445.8 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.3051, allocations: 75.92 kB / 445.8 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.3051, allocations: 8 kB / 445.9 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.3052, allocations: 15.98 kB / 445.9 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.3052, allocations: 0 / 445.9 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3052, allocations: 0 / 445.9 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.3064, allocations: 432.6 kB / 446.3 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/0.3064, allocations: 85.02 kB / 446.4 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.3065, allocations: 4 kB / 446.4 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.3066, allocations: 27.97 kB / 446.4 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.3067, allocations: 15.98 kB / 446.4 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.3067, allocations: 19.98 kB / 446.4 MB, free: 7.328 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.95e-05/0.3068, allocations: 75.28 kB / 446.5 MB, free: 7.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3068, allocations: 0 / 446.5 MB, free: 7.254 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001658/0.3084, allocations: 0.6288 MB / 447.1 MB, free: 6.625 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.003335/0.3118, allocations: 303.3 kB / 447.4 MB, free: 6.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009155/0.3127, allocations: 259.7 kB / 447.7 MB, free: 6.066 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.3127, allocations: 4 kB / 447.7 MB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003762/0.3131, allocations: 139.7 kB / 447.8 MB, free: 5.926 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.3134, allocations: 8 kB / 447.8 MB, free: 5.918 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.3145, allocations: 332.4 kB / 448.2 MB, free: 5.562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.3148, allocations: 0.697 MB / 448.9 MB, free: 4.836 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003086/0.3151, allocations: 73.08 kB / 448.9 MB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.3152, allocations: 55.39 kB / 449 MB, free: 4.711 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3152, allocations: 0 / 449 MB, free: 4.711 MB / 382.1 MB Notification: Performance of Templates: time 0.2572/0.5725, allocations: 53.85 MB / 0.4911 GB, free: 31.45 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1)