Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4866/0.4866, allocations: 90.91 MB / 99.35 MB, free: 2.234 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 221.5 MB / 343.2 MB, free: 1.602 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008976/0.0008976, allocations: 97.95 kB / 416 MB, free: 11.13 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.588e-05/1.589e-05, allocations: 4 kB / 494.5 MB, free: 52.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1323, allocations: 72.32 MB / 0.5535 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4484/0.5808, allocations: 100 MB / 0.6512 GB, free: 10.23 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.581, allocations: 72.95 kB / 0.6513 GB, free: 10.19 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001265/0.5823, allocations: 0.557 MB / 0.6518 GB, free: 9.664 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.5823, allocations: 0 / 0.6518 GB, free: 9.664 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.5823, allocations: 0 / 0.6518 GB, free: 9.664 MB / 458.7 MB 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.0002413/0.5826, allocations: 338.1 kB / 0.6522 GB, free: 9.285 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.5826, allocations: 12.03 kB / 0.6522 GB, free: 9.273 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.5827, allocations: 7.859 kB / 0.6522 GB, free: 9.266 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.669e-05/0.5828, allocations: 170.4 kB / 0.6523 GB, free: 9.062 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.5828, allocations: 0 / 0.6523 GB, free: 9.062 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.5828, allocations: 4 kB / 0.6523 GB, free: 9.059 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.702e-05/0.5829, allocations: 23.3 kB / 0.6524 GB, free: 9.043 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.692e-05/0.583, allocations: 53.38 kB / 0.6524 GB, free: 8.988 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.583, allocations: 0 / 0.6524 GB, free: 8.988 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.583, allocations: 0 / 0.6524 GB, free: 8.988 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.583, allocations: 14.69 kB / 0.6524 GB, free: 8.977 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002713/0.5833, allocations: 240.2 kB / 0.6527 GB, free: 8.715 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.713e-05/0.5833, allocations: 18.52 kB / 0.6527 GB, free: 8.688 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.423e-05/0.5834, allocations: 8.922 kB / 0.6527 GB, free: 8.676 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.392e-06/0.5834, allocations: 4 kB / 0.6527 GB, free: 8.672 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.5834, allocations: 34.52 kB / 0.6527 GB, free: 8.629 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.5834, allocations: 0 / 0.6527 GB, free: 8.629 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001489/0.5836, allocations: 41.25 kB / 0.6528 GB, free: 8.586 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.5836, allocations: 77.11 kB / 0.6528 GB, free: 8.492 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.58e-05/0.5837, allocations: 104.5 kB / 0.6529 GB, free: 8.387 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.5837, allocations: 25.7 kB / 0.653 GB, free: 8.355 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.5838, allocations: 103.5 kB / 0.6531 GB, free: 8.254 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.696e-06/0.5838, allocations: 7.906 kB / 0.6531 GB, free: 8.246 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.5838, allocations: 3.938 kB / 0.6531 GB, free: 8.242 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.5839, allocations: 318.5 kB / 0.6534 GB, free: 7.926 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/0.5839, allocations: 8 kB / 0.6534 GB, free: 7.918 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.022e-05/0.584, allocations: 62.55 kB / 0.6534 GB, free: 7.836 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.654e-05/0.584, allocations: 19.55 kB / 0.6535 GB, free: 7.82 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.584, allocations: 0 / 0.6535 GB, free: 7.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001205/0.5841, allocations: 77.31 kB / 0.6535 GB, free: 7.742 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.5842, allocations: 33.69 kB / 0.6536 GB, free: 7.703 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.5842, allocations: 4 kB / 0.6536 GB, free: 7.699 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.5842, allocations: 8.703 kB / 0.6536 GB, free: 7.691 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.312e-05/0.5843, allocations: 11.94 kB / 0.6536 GB, free: 7.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.5843, allocations: 4 kB / 0.6536 GB, free: 7.676 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.809e-05/0.5843, allocations: 15.78 kB / 0.6536 GB, free: 7.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.5844, allocations: 5.812 kB / 0.6536 GB, free: 7.656 MB / 458.7 MB 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 () * 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 7.576e-05/0.5844, allocations: 146.5 kB / 0.6538 GB, free: 7.504 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.5845, allocations: 0 / 0.6538 GB, free: 7.504 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.57e-05/0.5845, allocations: 7.969 kB / 0.6538 GB, free: 7.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.5845, allocations: 7.891 kB / 0.6538 GB, free: 7.492 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5845, allocations: 0 / 0.6538 GB, free: 7.492 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.5845, allocations: 0 / 0.6538 GB, free: 7.492 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.5846, allocations: 133.9 kB / 0.6539 GB, free: 7.328 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.5846, allocations: 0 / 0.6539 GB, free: 7.328 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-07/0.5847, allocations: 0 / 0.6539 GB, free: 7.328 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.5847, allocations: 0 / 0.6539 GB, free: 7.328 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.5847, allocations: 8 kB / 0.6539 GB, free: 7.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.5847, allocations: 0 / 0.6539 GB, free: 7.32 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5847, allocations: 0 / 0.6539 GB, free: 7.32 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.5848, allocations: 131.5 kB / 0.654 GB, free: 7.176 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.5848, allocations: 92.69 kB / 0.6541 GB, free: 7.07 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.5849, allocations: 3.25 kB / 0.6541 GB, free: 7.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.249e-05/0.5849, allocations: 0 / 0.6541 GB, free: 7.07 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/0.5849, allocations: 8.031 kB / 0.6541 GB, free: 7.062 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.585, allocations: 0 / 0.6541 GB, free: 7.062 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.535e-05/0.585, allocations: 88.12 kB / 0.6542 GB, free: 6.977 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.715e-06/0.585, allocations: 0 / 0.6542 GB, free: 6.977 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002385/0.5852, allocations: 15.89 kB / 0.6542 GB, free: 6.961 MB / 458.7 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 () * 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.0001526/0.5854, allocations: 110.9 kB / 0.6543 GB, free: 6.844 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.5855, allocations: 79.39 kB / 0.6544 GB, free: 6.758 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5855, allocations: 64 / 0.6544 GB, free: 6.758 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.729e-05/0.5856, allocations: 59.41 kB / 0.6545 GB, free: 6.688 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.5857, allocations: 5.406 kB / 0.6545 GB, free: 6.684 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001662/0.5859, allocations: 75.3 kB / 0.6545 GB, free: 6.59 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.5861, allocations: 0.6846 MB / 0.6552 GB, free: 5.879 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.112e-05/0.5861, allocations: 8.172 kB / 0.6552 GB, free: 5.867 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.435e-05/0.5861, allocations: 11.5 kB / 0.6552 GB, free: 5.855 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5861, allocations: 4 kB / 0.6552 GB, free: 5.852 MB / 458.7 MB Notification: Performance of Templates: time 0.002232/0.5884, allocations: 481.6 kB / 0.6557 GB, free: 5.395 MB / 458.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)