Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestRegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001351/0.001351, allocations: 177.3 kB / 15.94 MB, free: 228 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.429/1.429, 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.2918/0.2918, allocations: 38.04 MB / 308.4 MB, free: 10.51 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.0005616/0.0005619, allocations: 16 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1024, allocations: 57.52 MB / 433.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0006062/0.1031, allocations: 272.3 kB / 434.2 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002015/0.1033, allocations: 65.47 kB / 434.2 MB, free: 5.266 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.1033, allocations: 4 kB / 434.3 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.127e-05/0.1033, allocations: 0 / 434.3 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.1035, allocations: 11.98 kB / 434.3 MB, free: 5.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.725e-05/0.1036, allocations: 3.984 kB / 434.3 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.826e-05/0.1036, allocations: 4 kB / 434.3 MB, free: 5.242 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.942e-05/0.1036, allocations: 7.875 kB / 434.3 MB, free: 5.234 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.389e-05/0.1037, allocations: 0 / 434.3 MB, free: 5.234 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.952e-05/0.1037, allocations: 4 kB / 434.3 MB, free: 5.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.759e-06/0.1037, allocations: 0 / 434.3 MB, free: 5.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.773e-05/0.1038, allocations: 19.97 kB / 434.3 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.394e-06/0.1038, allocations: 7.984 kB / 434.3 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.916e-05/0.1038, allocations: 29.7 kB / 434.3 MB, free: 5.168 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 5.535e-05/0.1039, allocations: 11.98 kB / 434.4 MB, free: 5.156 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.1039, allocations: 0 / 434.4 MB, free: 5.156 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1039, allocations: 0 / 434.4 MB, free: 5.156 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.337e-06/0.1039, allocations: 0 / 434.4 MB, free: 5.156 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002547/0.1042, allocations: 319.4 kB / 434.7 MB, free: 4.797 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.1042, allocations: 8.031 kB / 434.7 MB, free: 4.789 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.1043, allocations: 4 kB / 434.7 MB, free: 4.785 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.1044, allocations: 171.2 kB / 434.8 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.1044, allocations: 0 / 434.8 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.1044, allocations: 0 / 434.8 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.913e-05/0.1045, allocations: 37.69 kB / 434.9 MB, free: 4.535 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1045, allocations: 0 / 434.9 MB, free: 4.535 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-06/0.1045, allocations: 0 / 434.9 MB, free: 4.535 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1045, allocations: 4 kB / 434.9 MB, free: 4.531 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.081e-05/0.1046, allocations: 4 kB / 434.9 MB, free: 4.527 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001477/0.1047, allocations: 157.5 kB / 435 MB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.1049, allocations: 46.55 kB / 435.1 MB, free: 4.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003549/0.1053, allocations: 121.2 kB / 435.2 MB, free: 4.133 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.1053, allocations: 34.56 kB / 435.2 MB, free: 4.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1053, allocations: 0 / 435.2 MB, free: 4.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.001303/0.1066, allocations: 213.4 kB / 435.4 MB, free: 3.875 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.1067, allocations: 55.34 kB / 435.5 MB, free: 3.809 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.034e-05/0.1067, allocations: 97.86 kB / 435.6 MB, free: 3.703 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.1068, allocations: 29.7 kB / 435.6 MB, free: 3.668 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/0.1068, allocations: 80.14 kB / 435.7 MB, free: 3.586 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.1068, allocations: 15.75 kB / 435.7 MB, free: 3.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-06/0.1068, allocations: 0 / 435.7 MB, free: 3.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.107, allocations: 322.8 kB / 436 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.475e-05/0.1071, allocations: 24.11 kB / 436.1 MB, free: 3.223 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.473e-05/0.1071, allocations: 24.05 kB / 436.1 MB, free: 3.199 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.244e-05/0.1072, allocations: 23.98 kB / 436.1 MB, free: 3.176 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1072, allocations: 3.938 kB / 436.1 MB, free: 3.172 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002186/0.1075, allocations: 89.56 kB / 436.2 MB, free: 3.078 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1075, allocations: 4 kB / 436.2 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1075, allocations: 0 / 436.2 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.1075, allocations: 4.281 kB / 436.2 MB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.1076, allocations: 19.98 kB / 436.2 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.1077, allocations: 3.984 kB / 436.2 MB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.138e-05/0.1078, allocations: 7.984 kB / 436.2 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.1078, allocations: 8 kB / 436.2 MB, free: 3.031 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 (5): * Single equations (assignments): 5 * 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 7.828e-05/0.1079, allocations: 114.8 kB / 436.4 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.1079, allocations: 3.984 kB / 436.4 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.1081, allocations: 101.1 kB / 436.5 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1082, allocations: 4 kB / 436.5 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1082, allocations: 0 / 436.5 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1082, allocations: 0 / 436.5 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000706/0.1089, allocations: 375.3 kB / 436.8 MB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1089, allocations: 0 / 436.8 MB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.892e-05/0.109, allocations: 15.98 kB / 436.8 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.109, allocations: 4 kB / 436.8 MB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.109, allocations: 3.984 kB / 436.9 MB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.109, allocations: 4.031 kB / 436.9 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1091, allocations: 0 / 436.9 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.1093, allocations: 210.2 kB / 437.1 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.909e-05/0.1094, allocations: 81.02 kB / 437.1 MB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.1094, allocations: 0 / 437.1 MB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1095, allocations: 11.98 kB / 437.2 MB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.1095, allocations: 4 kB / 437.2 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.1095, allocations: 7.953 kB / 437.2 MB, free: 1.992 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.934e-05/0.1096, allocations: 75.28 kB / 437.2 MB, free: 1.918 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1096, allocations: 3.938 kB / 437.2 MB, free: 1.914 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.1098, allocations: 12.09 kB / 437.3 MB, free: 1.902 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.0001252/0.1099, allocations: 103.2 kB / 437.4 MB, free: 1.793 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002152/0.1102, allocations: 63.83 kB / 437.4 MB, free: 1.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1102, allocations: 0 / 437.4 MB, free: 1.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.881e-05/0.1103, allocations: 35.97 kB / 437.4 MB, free: 1.695 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.1104, allocations: 0 / 437.4 MB, free: 1.695 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.1108, allocations: 147.6 kB / 437.6 MB, free: 1.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.111, allocations: 0.677 MB / 438.3 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.508e-05/0.1111, allocations: 4 kB / 438.3 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.1111, allocations: 15.44 kB / 438.3 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1111, allocations: 0 / 438.3 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of Templates: time 0.002452/0.1136, allocations: 0.6112 MB / 438.9 MB, free: 192 kB / 366.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) Environment - environmentSimulation: