Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, 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.001436/0.001436, allocations: 177.3 kB / 15.95 MB, free: 216 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.358/1.358, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.592/0.592, allocations: 95.58 MB / 366 MB, free: 10.41 MB / 302.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: Buildings 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.0008891/0.0008892, allocations: 16 kB / 446.8 MB, free: 9.426 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2771, allocations: 70.34 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001159/0.2783, allocations: 1.118 MB / 0.5061 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00048/0.2788, allocations: 327.7 kB / 0.5064 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.251e-05/0.2789, allocations: 3.938 kB / 0.5064 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.635e-05/0.2789, allocations: 0 / 0.5064 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.16e-05/0.2789, allocations: 11.98 kB / 0.5064 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.2792, allocations: 63.8 kB / 0.5065 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.001e-05/0.2793, allocations: 11.98 kB / 0.5065 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.048e-05/0.2794, allocations: 7.984 kB / 0.5065 GB, free: 14.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.55e-05/0.2794, allocations: 7.938 kB / 0.5065 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.634e-05/0.2794, allocations: 15.92 kB / 0.5065 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.2795, allocations: 0 / 0.5065 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002264/0.2797, allocations: 215.7 kB / 0.5067 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.077e-06/0.2797, allocations: 7.984 kB / 0.5067 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.2797, allocations: 33.7 kB / 0.5068 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.2799, allocations: 67.89 kB / 0.5068 GB, free: 14.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.2799, allocations: 0 / 0.5068 GB, free: 14.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2799, allocations: 0 / 0.5068 GB, free: 14.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.946e-06/0.2799, allocations: 0 / 0.5068 GB, free: 14.62 MB / 382.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.0003734/0.2803, allocations: 365.2 kB / 0.5072 GB, free: 14.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.2803, allocations: 19.98 kB / 0.5072 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.2804, allocations: 7.844 kB / 0.5072 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.931e-05/0.2804, allocations: 167.1 kB / 0.5074 GB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.2805, allocations: 7.938 kB / 0.5074 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.2805, allocations: 0 / 0.5074 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.2807, allocations: 57.62 kB / 0.5074 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2807, allocations: 0 / 0.5074 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.2807, allocations: 4 kB / 0.5074 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.2807, allocations: 4 kB / 0.5074 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.2809, allocations: 39.97 kB / 0.5075 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002869/0.2812, allocations: 248.9 kB / 0.5077 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.2813, allocations: 50.5 kB / 0.5078 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005228/0.2818, allocations: 469.5 kB / 0.5082 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.2818, allocations: 30.56 kB / 0.5082 GB, free: 12.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.2819, allocations: 0 / 0.5082 GB, free: 12.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003663/0.2822, allocations: 101.6 kB / 0.5083 GB, free: 12.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.2823, allocations: 51.41 kB / 0.5084 GB, free: 12.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.705e-05/0.2823, allocations: 105.8 kB / 0.5085 GB, free: 12.65 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.2823, allocations: 29.64 kB / 0.5085 GB, free: 12.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.756e-05/0.2824, allocations: 84.14 kB / 0.5086 GB, free: 12.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.2824, allocations: 16.02 kB / 0.5086 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.2824, allocations: 0 / 0.5086 GB, free: 12.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.862e-05/0.2824, allocations: 310.8 kB / 0.5089 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.646e-05/0.2825, allocations: 27.97 kB / 0.5089 GB, free: 12.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.557e-05/0.2826, allocations: 19.98 kB / 0.509 GB, free: 12.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.143e-05/0.2827, allocations: 27.92 kB / 0.509 GB, free: 12.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2827, allocations: 0 / 0.509 GB, free: 12.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001855/0.2829, allocations: 85.58 kB / 0.5091 GB, free: 12.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.2829, allocations: 10.19 kB / 0.5091 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2829, allocations: 0 / 0.5091 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.2829, allocations: 0 / 0.5091 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.811e-05/0.283, allocations: 11.98 kB / 0.5091 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.283, allocations: 0 / 0.5091 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.505e-05/0.2831, allocations: 8 kB / 0.5091 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.2831, allocations: 0 / 0.5091 GB, free: 12.01 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 (2): * Single equations (assignments): 2 * 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 4.579e-05/0.2831, allocations: 125.7 kB / 0.5092 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.2832, allocations: 7.953 kB / 0.5092 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002069/0.2834, allocations: 85.14 kB / 0.5093 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.2834, allocations: 4.031 kB / 0.5093 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2834, allocations: 0 / 0.5093 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2834, allocations: 0 / 0.5093 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.2835, allocations: 165.6 kB / 0.5095 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2835, allocations: 0 / 0.5095 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.225e-05/0.2836, allocations: 8.25 kB / 0.5095 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2836, allocations: 3.953 kB / 0.5095 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.2836, allocations: 7.984 kB / 0.5095 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2836, allocations: 0 / 0.5095 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2836, allocations: 0 / 0.5095 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.2838, allocations: 183.4 kB / 0.5097 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.786e-05/0.2839, allocations: 77.11 kB / 0.5097 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.2839, allocations: 7.984 kB / 0.5097 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.986e-05/0.2839, allocations: 8 kB / 0.5097 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.284, allocations: 3.984 kB / 0.5097 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.284, allocations: 4 kB / 0.5097 GB, free: 11.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.416e-05/0.284, allocations: 83.28 kB / 0.5098 GB, free: 11.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.284, allocations: 0 / 0.5098 GB, free: 11.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002213/0.2843, allocations: 12 kB / 0.5098 GB, free: 11.14 MB / 382.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 (2): * Single equations (assignments): 2 * 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.0001414/0.2844, allocations: 111.2 kB / 0.5099 GB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.2846, allocations: 43.91 kB / 0.51 GB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2846, allocations: 4 kB / 0.51 GB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.238e-05/0.2847, allocations: 32.03 kB / 0.51 GB, free: 10.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.2849, allocations: 3.938 kB / 0.51 GB, free: 10.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.2852, allocations: 112.6 kB / 0.5101 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.2854, allocations: 0.6809 MB / 0.5108 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.403e-05/0.2854, allocations: 0 / 0.5108 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.789e-05/0.2855, allocations: 15.44 kB / 0.5108 GB, free: 10.08 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2855, allocations: 4 kB / 0.5108 GB, free: 10.07 MB / 382.1 MB Notification: Performance of Templates: time 0.00289/0.2884, allocations: 0.6052 MB / 0.5114 GB, free: 9.469 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) Environment - environmentSimulation: