Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7699/0.7699, allocations: 140 MB / 156 MB, free: 8.402 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 184.5 kB / 188.5 MB, free: 8.988 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.4 MB / 426.3 MB, free: 8.125 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007869/0.0007869, allocations: 86.33 kB / 0.4945 GB, free: 8.059 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001719/0.001719, allocations: 272.5 kB / 0.5728 GB, free: 66.12 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004606/0.0004606, allocations: 20 kB / 0.662 GB, free: 6.699 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3661, allocations: 79.3 MB / 0.7395 GB, free: 46.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1281/0.4943, allocations: 106.4 MB / 0.8434 GB, free: 3.777 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/0.4945, allocations: 79.95 kB / 0.8434 GB, free: 3.699 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.001246/0.4958, allocations: 0.5578 MB / 0.844 GB, free: 3.141 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.354e-06/0.4958, allocations: 0 / 0.844 GB, free: 3.141 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.4958, allocations: 4 kB / 0.844 GB, free: 3.137 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002482/0.4961, allocations: 353.2 kB / 0.8443 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.4961, allocations: 8.031 kB / 0.8443 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.4962, allocations: 8.875 kB / 0.8443 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.36e-05/0.4962, allocations: 164.3 kB / 0.8445 GB, free: 2.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.4963, allocations: 4.375 kB / 0.8445 GB, free: 2.516 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.4963, allocations: 384 / 0.8445 GB, free: 2.516 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.4964, allocations: 58.23 kB / 0.8445 GB, free: 2.453 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.4964, allocations: 192 / 0.8445 GB, free: 2.453 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.4964, allocations: 3.938 kB / 0.8445 GB, free: 2.449 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.4965, allocations: 11.98 kB / 0.8446 GB, free: 2.438 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.443e-05/0.4965, allocations: 23.92 kB / 0.8446 GB, free: 2.414 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.4968, allocations: 260.8 kB / 0.8448 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.601e-05/0.4969, allocations: 22.56 kB / 0.8449 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.36e-05/0.4969, allocations: 4.859 kB / 0.8449 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-06/0.4969, allocations: 0 / 0.8449 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.4969, allocations: 38.62 kB / 0.8449 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.497, allocations: 0 / 0.8449 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001522/0.4971, allocations: 75.23 kB / 0.845 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.4972, allocations: 77.11 kB / 0.845 GB, free: 1.844 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.446e-05/0.4972, allocations: 109.8 kB / 0.8451 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.4973, allocations: 29.7 kB / 0.8452 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/0.4973, allocations: 99.8 kB / 0.8453 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.616e-06/0.4973, allocations: 7.984 kB / 0.8453 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.4973, allocations: 4.125 kB / 0.8453 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.871e-05/0.4974, allocations: 318.8 kB / 0.8456 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.275e-05/0.4975, allocations: 11.98 kB / 0.8456 GB, free: 1.246 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.376e-05/0.4975, allocations: 50.88 kB / 0.8456 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.465e-05/0.4976, allocations: 134.1 kB / 0.8458 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4976, allocations: 0 / 0.8458 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001357/0.4978, allocations: 131.1 kB / 0.8459 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.4978, allocations: 33.7 kB / 0.8459 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4978, allocations: 0 / 0.8459 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.4978, allocations: 4 kB / 0.8459 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.454e-05/0.4979, allocations: 12 kB / 0.8459 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.4979, allocations: 7.938 kB / 0.846 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.66e-05/0.4979, allocations: 16.12 kB / 0.846 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.498, allocations: 7.984 kB / 0.846 GB, free: 0.7773 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 8.109e-05/0.4981, allocations: 147.5 kB / 0.8461 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.4981, allocations: 3.906 kB / 0.8461 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.284e-05/0.4981, allocations: 7.531 kB / 0.8461 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-06/0.4981, allocations: 0 / 0.8461 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4981, allocations: 3.984 kB / 0.8461 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.4981, allocations: 7.922 kB / 0.8461 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.4983, allocations: 153.7 kB / 0.8463 GB, free: 404 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.4983, allocations: 0 / 0.8463 GB, free: 404 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-06/0.4983, allocations: 7.984 kB / 0.8463 GB, free: 396 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.4983, allocations: 0 / 0.8463 GB, free: 396 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.4983, allocations: 4 kB / 0.8463 GB, free: 392 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.4983, allocations: 480 / 0.8463 GB, free: 392 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4983, allocations: 0 / 0.8463 GB, free: 392 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.4984, allocations: 169.1 kB / 0.8465 GB, free: 200 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.724e-05/0.4985, allocations: 77.11 kB / 0.8465 GB, free: 104 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.4985, allocations: 4.031 kB / 0.8465 GB, free: 100 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.153e-05/0.4985, allocations: 4 kB / 0.8465 GB, free: 96 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.15e-05/0.4985, allocations: 0 / 0.8465 GB, free: 96 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.4986, allocations: 4 kB / 0.8465 GB, free: 92 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.637e-05/0.4986, allocations: 95.31 kB / 0.8466 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4986, allocations: 0 / 0.8466 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000231/0.4989, allocations: 15.94 kB / 0.8466 GB, free: 15.98 MB / 0.5261 GB 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: 1 * 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.00015/0.499, allocations: 107.2 kB / 0.8468 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.4991, allocations: 87.33 kB / 0.8468 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.4992, allocations: 0 / 0.8468 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.163e-05/0.4992, allocations: 63.33 kB / 0.8469 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.4994, allocations: 1.547 kB / 0.8469 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001987/0.4996, allocations: 115.2 kB / 0.847 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.4998, allocations: 0.677 MB / 0.8477 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.096e-05/0.4998, allocations: 19.73 kB / 0.8477 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.937e-06/0.4999, allocations: 7.438 kB / 0.8477 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-07/0.4999, allocations: 0 / 0.8477 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of Templates: time 0.002206/0.5021, allocations: 0.4885 MB / 0.8482 GB, free: 14.34 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)