Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Test01RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 84.38 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.001321/0.001321, 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.369/1.369, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.2937/0.2937, allocations: 38.03 MB / 308.4 MB, free: 10.43 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.0005805/0.0005806, allocations: 12 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1062, allocations: 57.52 MB / 434 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0005212/0.1068, allocations: 230.1 kB / 434.2 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.1083, allocations: 1.349 MB / 435.5 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.702e-05/0.1084, allocations: 0 / 435.5 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.618e-06/0.1084, allocations: 4 kB / 435.5 MB, free: 3.957 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.894e-05/0.1084, allocations: 0 / 435.5 MB, free: 3.957 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005052/0.1089, allocations: 139.7 kB / 435.7 MB, free: 3.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.774e-05/0.109, allocations: 11.98 kB / 435.7 MB, free: 3.809 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.184e-05/0.109, allocations: 0 / 435.7 MB, free: 3.809 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.821e-05/0.109, allocations: 7.984 kB / 435.7 MB, free: 3.801 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.991e-05/0.1091, allocations: 7.984 kB / 435.7 MB, free: 3.793 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.1091, allocations: 4 kB / 435.7 MB, free: 3.789 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004307/0.1095, allocations: 259.6 kB / 436 MB, free: 3.535 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.306e-06/0.1096, allocations: 0 / 436 MB, free: 3.535 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.1096, allocations: 25.7 kB / 436 MB, free: 3.504 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.1098, allocations: 83.83 kB / 436.1 MB, free: 3.422 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.1098, allocations: 0 / 436.1 MB, free: 3.422 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1098, allocations: 3.938 kB / 436.1 MB, free: 3.418 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.1098, allocations: 0 / 436.1 MB, free: 3.418 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003487/0.1101, allocations: 331.4 kB / 436.4 MB, free: 3.047 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1102, allocations: 8.031 kB / 436.4 MB, free: 3.039 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.1102, allocations: 7.953 kB / 436.4 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.1104, allocations: 171.3 kB / 436.6 MB, free: 2.824 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1104, allocations: 3.938 kB / 436.6 MB, free: 2.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.1104, allocations: 0 / 436.6 MB, free: 2.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.907e-05/0.1105, allocations: 29.7 kB / 436.6 MB, free: 2.785 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1105, allocations: 3.984 kB / 436.6 MB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1105, allocations: 4 kB / 436.6 MB, free: 2.777 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1106, allocations: 4 kB / 436.6 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.267e-05/0.1106, allocations: 4 kB / 436.6 MB, free: 2.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.1107, allocations: 153.6 kB / 436.8 MB, free: 2.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.433e-05/0.1108, allocations: 26.55 kB / 436.8 MB, free: 2.535 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.556e-05/0.1108, allocations: 4.859 kB / 436.8 MB, free: 2.527 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-06/0.1108, allocations: 0 / 436.8 MB, free: 2.527 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.1109, allocations: 34.62 kB / 436.8 MB, free: 2.484 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.1109, allocations: 4 kB / 436.8 MB, free: 2.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001356/0.111, allocations: 37.59 kB / 436.9 MB, free: 2.438 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.1111, allocations: 59.41 kB / 436.9 MB, free: 2.367 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.561e-05/0.1111, allocations: 89.86 kB / 437 MB, free: 2.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.1111, allocations: 25.7 kB / 437 MB, free: 2.238 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.798e-05/0.1112, allocations: 80.14 kB / 437.1 MB, free: 2.156 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.1112, allocations: 11.88 kB / 437.1 MB, free: 2.145 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.1112, allocations: 256 / 437.1 MB, free: 2.145 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1113, allocations: 326.8 kB / 437.5 MB, free: 1.816 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.387e-06/0.1114, allocations: 0 / 437.5 MB, free: 1.816 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.426e-06/0.1114, allocations: 4 kB / 437.5 MB, free: 1.812 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.372e-05/0.1114, allocations: 0 / 437.5 MB, free: 1.812 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1114, allocations: 0 / 437.5 MB, free: 1.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.859e-05/0.1115, allocations: 33.7 kB / 437.5 MB, free: 1.773 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1115, allocations: 4 kB / 437.5 MB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1115, allocations: 0 / 437.5 MB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1115, allocations: 4.094 kB / 437.5 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.627e-05/0.1116, allocations: 11.92 kB / 437.5 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.1116, allocations: 0 / 437.5 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.426e-05/0.1116, allocations: 0 / 437.5 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.1116, allocations: 0 / 437.5 MB, free: 1.754 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 (1): * Single equations (assignments): 1 * 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 0.0001046/0.1117, allocations: 114.8 kB / 437.6 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.1118, allocations: 3.938 kB / 437.6 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.1119, allocations: 48.81 kB / 437.7 MB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1119, allocations: 0 / 437.7 MB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.1119, allocations: 0 / 437.7 MB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1119, allocations: 0 / 437.7 MB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.112, allocations: 153.6 kB / 437.8 MB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.1121, allocations: 0 / 437.8 MB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1121, allocations: 0 / 437.8 MB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1121, allocations: 3.938 kB / 437.8 MB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.1121, allocations: 4 kB / 437.8 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1121, allocations: 4 kB / 437.8 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1121, allocations: 4.031 kB / 437.8 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.817e-05/0.1122, allocations: 61.03 kB / 437.9 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/0.1122, allocations: 85 kB / 438 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.1123, allocations: 0 / 438 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.151e-05/0.1123, allocations: 4 kB / 438 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.083e-05/0.1123, allocations: 0 / 438 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.1124, allocations: 4 kB / 438 MB, free: 1.172 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.899e-05/0.1124, allocations: 87.31 kB / 438.1 MB, free: 1.086 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1124, allocations: 0 / 438.1 MB, free: 1.086 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.1127, allocations: 39.98 kB / 438.1 MB, free: 1.047 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002703/0.1129, allocations: 139.2 kB / 438.3 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.735e-05/0.113, allocations: 8 kB / 438.3 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.113, allocations: 0 / 438.3 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.444e-05/0.1131, allocations: 33.8 kB / 438.3 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.1132, allocations: 12 kB / 438.3 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001909/0.1134, allocations: 82.7 kB / 438.4 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.1137, allocations: 0.677 MB / 439.1 MB, free: 36 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.599e-05/0.1137, allocations: 0 / 439.1 MB, free: 36 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.253e-05/0.1137, allocations: 7.438 kB / 439.1 MB, free: 28 kB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1137, allocations: 0 / 439.1 MB, free: 28 kB / 366.1 MB Notification: Performance of Templates: time 0.00336/0.1171, allocations: 1.045 MB / 440.1 MB, free: 14.98 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) Environment - environmentSimulation: