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.0007789/0.0007787, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009016/0.0009015, allocations: 172.7 kB / 15.95 MB, free: 208 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.439/1.439, allocations: 205.4 MB / 222.1 MB, free: 5.613 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.3203/0.3203, allocations: 38.03 MB / 308.4 MB, free: 10.41 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.0005596/0.0005597, allocations: 20 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1148, allocations: 57.52 MB / 434 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001021/0.1159, allocations: 294 kB / 434.2 MB, free: 5.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004417/0.1164, allocations: 119.6 kB / 434.4 MB, free: 5.152 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.691e-05/0.1164, allocations: 0 / 434.4 MB, free: 5.152 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.1164, allocations: 0 / 434.4 MB, free: 5.152 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.1168, allocations: 27.91 kB / 434.4 MB, free: 5.125 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.058e-06/0.1168, allocations: 0 / 434.4 MB, free: 5.125 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.219e-05/0.1168, allocations: 15.94 kB / 434.4 MB, free: 5.109 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.788e-05/0.1169, allocations: 7.984 kB / 434.4 MB, free: 5.102 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.77e-05/0.117, allocations: 11.92 kB / 434.4 MB, free: 5.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.945e-05/0.117, allocations: 15.92 kB / 434.4 MB, free: 5.074 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.117, allocations: 4 kB / 434.4 MB, free: 5.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.1172, allocations: 39.95 kB / 434.5 MB, free: 5.031 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.1172, allocations: 15.92 kB / 434.5 MB, free: 5.016 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.52e-05/0.1172, allocations: 25.7 kB / 434.5 MB, free: 4.984 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.1174, allocations: 31.95 kB / 434.6 MB, free: 4.953 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.1174, allocations: 0 / 434.6 MB, free: 4.953 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1174, allocations: 0 / 434.6 MB, free: 4.953 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1174, allocations: 0 / 434.6 MB, free: 4.953 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.0003363/0.1177, allocations: 339.6 kB / 434.9 MB, free: 4.574 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.1178, allocations: 8.031 kB / 434.9 MB, free: 4.566 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.1178, allocations: 7.906 kB / 434.9 MB, free: 4.559 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.118, allocations: 174.9 kB / 435.1 MB, free: 4.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.118, allocations: 0 / 435.1 MB, free: 4.348 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.118, allocations: 8 kB / 435.1 MB, free: 4.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.1182, allocations: 57.67 kB / 435.1 MB, free: 4.277 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1182, allocations: 0 / 435.1 MB, free: 4.277 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1182, allocations: 8 kB / 435.1 MB, free: 4.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1182, allocations: 0 / 435.1 MB, free: 4.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.1183, allocations: 55.89 kB / 435.2 MB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.1185, allocations: 173.6 kB / 435.4 MB, free: 3.996 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.1187, allocations: 74.56 kB / 435.4 MB, free: 3.914 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.414e-05/0.1187, allocations: 32.84 kB / 435.5 MB, free: 3.879 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003517/0.1191, allocations: 255.3 kB / 435.7 MB, free: 3.574 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.1191, allocations: 34.84 kB / 435.8 MB, free: 3.531 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.1191, allocations: 0 / 435.8 MB, free: 3.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002411/0.1194, allocations: 101.5 kB / 435.9 MB, free: 3.426 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.1195, allocations: 63.34 kB / 435.9 MB, free: 3.352 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.339e-05/0.1195, allocations: 89.86 kB / 436 MB, free: 3.254 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.1196, allocations: 25.7 kB / 436 MB, free: 3.223 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.1196, allocations: 84.27 kB / 436.1 MB, free: 3.137 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/0.1197, allocations: 35.53 kB / 436.2 MB, free: 3.102 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-06/0.1197, allocations: 8 kB / 436.2 MB, free: 3.094 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.1198, allocations: 315.2 kB / 436.5 MB, free: 2.777 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.137e-05/0.1198, allocations: 15.98 kB / 436.5 MB, free: 2.762 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.125e-05/0.1199, allocations: 23.94 kB / 436.5 MB, free: 2.738 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.332e-05/0.1199, allocations: 20 kB / 436.5 MB, free: 2.719 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1199, allocations: 0 / 436.5 MB, free: 2.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001259/0.1201, allocations: 89.52 kB / 436.6 MB, free: 2.625 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1201, allocations: 4 kB / 436.6 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1201, allocations: 4 kB / 436.6 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1201, allocations: 4 kB / 436.6 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1202, allocations: 12 kB / 436.6 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1202, allocations: 0 / 436.6 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.383e-05/0.1203, allocations: 3.938 kB / 436.6 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.1203, allocations: 4 kB / 436.6 MB, free: 2.594 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.753e-05/0.1204, allocations: 126.8 kB / 436.8 MB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.1204, allocations: 0 / 436.8 MB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.1206, allocations: 109.4 kB / 436.9 MB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1206, allocations: 4 kB / 436.9 MB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1206, allocations: 3.984 kB / 436.9 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1206, allocations: 0 / 436.9 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.1208, allocations: 173.6 kB / 437.1 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1208, allocations: 0 / 437.1 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.632e-05/0.1209, allocations: 12 kB / 437.1 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1209, allocations: 0 / 437.1 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.1209, allocations: 384 / 437.1 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.1209, allocations: 7.984 kB / 437.1 MB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.1209, allocations: 8 kB / 437.1 MB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.1211, allocations: 109 kB / 437.2 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.1212, allocations: 92.91 kB / 437.3 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.1212, allocations: 0 / 437.3 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.212e-05/0.1212, allocations: 0 / 437.3 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/0.1212, allocations: 11.98 kB / 437.3 MB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.1212, allocations: 4 kB / 437.3 MB, free: 1.848 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.316e-05/0.1213, allocations: 79.28 kB / 437.4 MB, free: 1.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1213, allocations: 0 / 437.4 MB, free: 1.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002285/0.1215, allocations: 16 kB / 437.4 MB, free: 1.754 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 (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.0001668/0.1217, allocations: 119.1 kB / 437.5 MB, free: 1.629 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.1219, allocations: 51.92 kB / 437.6 MB, free: 1.578 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1219, allocations: 0 / 437.6 MB, free: 1.578 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.334e-05/0.1219, allocations: 31.98 kB / 437.6 MB, free: 1.547 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.1221, allocations: 0 / 437.6 MB, free: 1.547 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.1224, allocations: 154.7 kB / 437.7 MB, free: 1.367 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.1227, allocations: 0.6809 MB / 438.4 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.667e-05/0.1227, allocations: 4 kB / 438.4 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/0.1228, allocations: 15.42 kB / 438.4 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of SimCode: time 6.42e-07/0.1228, allocations: 0 / 438.4 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of Templates: time 0.002616/0.1254, allocations: 0.607 MB / 439 MB, free: 36 kB / 366.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: