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.0007987/0.0007987, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0008629/0.000863, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.2906/0.2906, allocations: 38.03 MB / 308.4 MB, free: 10.46 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.0005365/0.0005366, allocations: 20 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1176, allocations: 57.53 MB / 434 MB, free: 5.531 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0006566/0.1183, allocations: 262 kB / 434.2 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007075/0.119, allocations: 380.8 kB / 434.6 MB, free: 4.902 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.332e-05/0.1191, allocations: 0 / 434.6 MB, free: 4.902 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.005e-05/0.1191, allocations: 7.875 kB / 434.6 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.796e-05/0.1191, allocations: 0 / 434.6 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003945/0.1195, allocations: 103.8 kB / 434.7 MB, free: 4.793 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.847e-05/0.1196, allocations: 23.98 kB / 434.7 MB, free: 4.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.1196, allocations: 4 kB / 434.7 MB, free: 4.766 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.513e-05/0.1197, allocations: 19.92 kB / 434.7 MB, free: 4.746 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.668e-05/0.1197, allocations: 19.91 kB / 434.8 MB, free: 4.727 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.1198, allocations: 4 kB / 434.8 MB, free: 4.723 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002341/0.12, allocations: 155.8 kB / 434.9 MB, free: 4.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.12, allocations: 8 kB / 434.9 MB, free: 4.562 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.9e-05/0.1201, allocations: 25.7 kB / 435 MB, free: 4.531 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.1202, allocations: 80.16 kB / 435 MB, free: 4.453 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1202, allocations: 3.938 kB / 435 MB, free: 4.449 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1202, allocations: 4 kB / 435 MB, free: 4.445 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1202, allocations: 0 / 435 MB, free: 4.445 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.0003838/0.1206, allocations: 363.2 kB / 435.4 MB, free: 4.043 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.1207, allocations: 8.031 kB / 435.4 MB, free: 4.035 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.1207, allocations: 4 kB / 435.4 MB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.1208, allocations: 167 kB / 435.6 MB, free: 3.828 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1209, allocations: 4 kB / 435.6 MB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.1209, allocations: 8 kB / 435.6 MB, free: 3.816 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.121, allocations: 65.66 kB / 435.6 MB, free: 3.746 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.121, allocations: 7.906 kB / 435.7 MB, free: 3.738 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1211, allocations: 4 kB / 435.7 MB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1211, allocations: 4 kB / 435.7 MB, free: 3.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.467e-05/0.1212, allocations: 43.89 kB / 435.7 MB, free: 3.688 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.1213, allocations: 173.6 kB / 435.9 MB, free: 3.469 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.1215, allocations: 78.55 kB / 436 MB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.979e-05/0.1215, allocations: 32.84 kB / 436 MB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002292/0.1217, allocations: 113.1 kB / 436.1 MB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.1218, allocations: 34.56 kB / 436.1 MB, free: 3.176 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 3.787e-06/0.1218, allocations: 0 / 436.1 MB, free: 3.176 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.1007/0.2225, allocations: 5.857 MB / 442 MB, free: 13.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.2226, allocations: 55.41 kB / 442 MB, free: 13.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.635e-05/0.2227, allocations: 89.86 kB / 442.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.2227, allocations: 33.7 kB / 442.2 MB, free: 13.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.79e-05/0.2227, allocations: 80.52 kB / 442.2 MB, free: 12.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.529e-05/0.2228, allocations: 74.97 kB / 442.3 MB, free: 12.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.756e-05/0.2228, allocations: 8 kB / 442.3 MB, free: 12.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.223, allocations: 318.8 kB / 442.6 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/0.2233, allocations: 131.9 kB / 442.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.2236, allocations: 135.9 kB / 442.9 MB, free: 12.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000635/0.2242, allocations: 179.7 kB / 443.1 MB, free: 12.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.2243, allocations: 4 kB / 443.1 MB, free: 12.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001066/0.2253, allocations: 405.7 kB / 443.5 MB, free: 11.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.2254, allocations: 4 kB / 443.5 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2254, allocations: 7.922 kB / 443.5 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.2254, allocations: 3.953 kB / 443.5 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.2257, allocations: 99.91 kB / 443.6 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.2258, allocations: 0 / 443.6 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.2259, allocations: 39.97 kB / 443.6 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.226, allocations: 15.98 kB / 443.6 MB, free: 11.58 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.448e-05/0.2261, allocations: 122.8 kB / 443.8 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.2261, allocations: 11.89 kB / 443.8 MB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.2274, allocations: 481.9 kB / 444.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2274, allocations: 4 kB / 444.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.2275, allocations: 3.953 kB / 444.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.2275, allocations: 0 / 444.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/0.2295, allocations: 0.8775 MB / 445.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2295, allocations: 0 / 445.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002717/0.2298, allocations: 88 kB / 445.2 MB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.2298, allocations: 7.984 kB / 445.2 MB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.2298, allocations: 8 kB / 445.2 MB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2298, allocations: 0 / 445.2 MB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2298, allocations: 3.984 kB / 445.2 MB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.2309, allocations: 472.7 kB / 445.7 MB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.2309, allocations: 85.02 kB / 445.8 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.2309, allocations: 11.98 kB / 445.8 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.2311, allocations: 39.97 kB / 445.8 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.2312, allocations: 11.98 kB / 445.8 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.2312, allocations: 15.98 kB / 445.8 MB, free: 9.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.424e-05/0.2312, allocations: 79.28 kB / 445.9 MB, free: 9.164 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2312, allocations: 0 / 445.9 MB, free: 9.164 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001639/0.2329, allocations: 0.6249 MB / 446.6 MB, free: 8.539 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002705/0.2356, allocations: 311 kB / 446.9 MB, free: 8.227 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007758/0.2364, allocations: 299.7 kB / 447.1 MB, free: 7.934 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2364, allocations: 0 / 447.1 MB, free: 7.934 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003275/0.2367, allocations: 152 kB / 447.3 MB, free: 7.785 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.237, allocations: 11.95 kB / 447.3 MB, free: 7.773 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008909/0.2379, allocations: 405 kB / 447.7 MB, free: 7.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.2381, allocations: 0.7012 MB / 448.4 MB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002942/0.2384, allocations: 77.08 kB / 448.5 MB, free: 6.539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.2386, allocations: 47.39 kB / 448.5 MB, free: 6.492 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2386, allocations: 4 kB / 448.5 MB, free: 6.488 MB / 382.1 MB Notification: Performance of Templates: time 0.2418/0.4804, allocations: 53.78 MB / 0.4905 GB, free: 31.26 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: