Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002091/0.002091, allocations: 191.5 kB / 16.14 MB, free: 6.703 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.618/1.618, allocations: 205.1 MB / 222 MB, free: 4.754 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.2935/0.2935, allocations: 37.97 MB / 307.3 MB, free: 10.02 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.001381/0.001381, allocations: 67.06 kB / 374.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1154, allocations: 56.46 MB / 431 MB, free: 7.086 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001931/0.1173, allocations: 0.6454 MB / 431.7 MB, free: 6.438 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003994/0.1177, allocations: 139.5 kB / 431.8 MB, free: 6.301 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.643e-05/0.1178, allocations: 0 / 431.8 MB, free: 6.301 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.084e-05/0.1178, allocations: 0 / 431.8 MB, free: 6.301 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.1181, allocations: 19.91 kB / 431.8 MB, free: 6.281 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.176e-06/0.1181, allocations: 0 / 431.8 MB, free: 6.281 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.998e-05/0.1181, allocations: 23.92 kB / 431.8 MB, free: 6.258 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.1182, allocations: 4 kB / 431.8 MB, free: 6.254 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.226e-05/0.1182, allocations: 15.91 kB / 431.9 MB, free: 6.238 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.96e-05/0.1183, allocations: 19.86 kB / 431.9 MB, free: 6.219 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.1183, allocations: 0 / 431.9 MB, free: 6.219 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.1184, allocations: 51.95 kB / 431.9 MB, free: 6.168 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.1184, allocations: 7.938 kB / 431.9 MB, free: 6.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.368e-05/0.1185, allocations: 11.92 kB / 431.9 MB, free: 6.148 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.1186, allocations: 39.89 kB / 432 MB, free: 6.109 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1186, allocations: 0 / 432 MB, free: 6.109 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1186, allocations: 0 / 432 MB, free: 6.109 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.1186, allocations: 0 / 432 MB, free: 6.109 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003103/0.1189, allocations: 351.8 kB / 432.3 MB, free: 5.715 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.119, allocations: 8.031 kB / 432.3 MB, free: 5.707 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.119, allocations: 4.844 kB / 432.3 MB, free: 5.703 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.1191, allocations: 168.3 kB / 432.5 MB, free: 5.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.1191, allocations: 384 / 432.5 MB, free: 5.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.1191, allocations: 4.375 kB / 432.5 MB, free: 5.496 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.1193, allocations: 62.23 kB / 432.6 MB, free: 5.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.1193, allocations: 192 / 432.6 MB, free: 5.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1193, allocations: 3.938 kB / 432.6 MB, free: 5.426 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1193, allocations: 4 kB / 432.6 MB, free: 5.422 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.1194, allocations: 59.89 kB / 432.6 MB, free: 5.363 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.1196, allocations: 161.7 kB / 432.8 MB, free: 5.156 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.1197, allocations: 78.55 kB / 432.9 MB, free: 5.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.841e-05/0.1198, allocations: 32.84 kB / 432.9 MB, free: 5.035 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003056/0.1201, allocations: 251.3 kB / 433.1 MB, free: 4.734 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.1201, allocations: 46.78 kB / 433.2 MB, free: 4.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 5.36e-06/0.1201, allocations: 0 / 433.2 MB, free: 4.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002103/0.1203, allocations: 109.5 kB / 433.3 MB, free: 4.566 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.1204, allocations: 55.34 kB / 433.4 MB, free: 4.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.926e-05/0.1204, allocations: 97.84 kB / 433.4 MB, free: 4.395 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.1204, allocations: 25.7 kB / 433.5 MB, free: 4.363 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.47e-05/0.1205, allocations: 80.14 kB / 433.6 MB, free: 4.281 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.1205, allocations: 35.69 kB / 433.6 MB, free: 4.246 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.1206, allocations: 21.7 kB / 433.6 MB, free: 4.219 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.309e-05/0.1207, allocations: 315.2 kB / 433.9 MB, free: 3.902 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.392e-05/0.1207, allocations: 19.98 kB / 433.9 MB, free: 3.883 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.059e-05/0.1207, allocations: 19.94 kB / 434 MB, free: 3.863 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.703e-05/0.1208, allocations: 52.78 kB / 434 MB, free: 3.809 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1208, allocations: 0 / 434 MB, free: 3.809 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000117/0.121, allocations: 85.59 kB / 434.1 MB, free: 3.719 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.121, allocations: 4 kB / 434.1 MB, free: 3.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.121, allocations: 7.938 kB / 434.1 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.121, allocations: 0 / 434.1 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1211, allocations: 23.92 kB / 434.1 MB, free: 3.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.1211, allocations: 0 / 434.1 MB, free: 3.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.573e-05/0.1211, allocations: 7.938 kB / 434.1 MB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.1212, allocations: 4 kB / 434.1 MB, free: 3.672 MB / 366.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 (10): * Single equations (assignments): 10 * 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.501e-05/0.1212, allocations: 113.8 kB / 434.2 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.1212, allocations: 4 kB / 434.2 MB, free: 3.547 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.1214, allocations: 109.4 kB / 434.4 MB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1215, allocations: 4 kB / 434.4 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1215, allocations: 3.984 kB / 434.4 MB, free: 3.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1215, allocations: 0 / 434.4 MB, free: 3.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.1216, allocations: 162 kB / 434.5 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1216, allocations: 4 kB / 434.5 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.565e-05/0.1217, allocations: 19.98 kB / 434.5 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1217, allocations: 0 / 434.5 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1217, allocations: 7.875 kB / 434.6 MB, free: 3.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1217, allocations: 3.938 kB / 434.6 MB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1217, allocations: 8 kB / 434.6 MB, free: 3.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.1218, allocations: 101.1 kB / 434.7 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.1219, allocations: 100.9 kB / 434.8 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.1219, allocations: 7.875 kB / 434.8 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.394e-05/0.1219, allocations: 0 / 434.8 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.908e-05/0.1219, allocations: 4 kB / 434.8 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.122, allocations: 7.984 kB / 434.8 MB, free: 2.926 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.787e-05/0.122, allocations: 83.28 kB / 434.9 MB, free: 2.844 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.122, allocations: 0 / 434.9 MB, free: 2.844 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001974/0.1222, allocations: 16 kB / 434.9 MB, free: 2.828 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 (10): * Single equations (assignments): 10 * 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.000124/0.1223, allocations: 107.2 kB / 435 MB, free: 2.715 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000117/0.1225, allocations: 55.91 kB / 435 MB, free: 2.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1225, allocations: 0 / 435 MB, free: 2.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.868e-05/0.1225, allocations: 27.94 kB / 435.1 MB, free: 2.633 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.1227, allocations: 11.98 kB / 435.1 MB, free: 2.621 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003167/0.123, allocations: 146.8 kB / 435.2 MB, free: 2.449 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.1232, allocations: 0.6809 MB / 435.9 MB, free: 1.742 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.619e-05/0.1233, allocations: 7.984 kB / 435.9 MB, free: 1.734 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/0.1233, allocations: 11.44 kB / 435.9 MB, free: 1.723 MB / 366.1 MB Notification: Performance of SimCode: time 1.322e-06/0.1233, allocations: 4.469 kB / 435.9 MB, free: 1.719 MB / 366.1 MB Notification: Performance of Templates: time 0.002309/0.1256, allocations: 0.6304 MB / 436.6 MB, free: 1.09 MB / 366.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1)