Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.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 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 104.3 kB / 16.27 MB, free: 6 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.001565/0.001565, allocations: 190.9 kB / 17.19 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7324/0.7324, allocations: 122.8 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 63.91 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3558, allocations: 77.93 MB / 0.5673 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001501/0.3574, allocations: 0.573 MB / 0.5679 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001852/0.3576, allocations: 51.97 kB / 0.5679 GB, free: 32.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.078e-05/0.3576, allocations: 0.5625 kB / 0.5679 GB, free: 32.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.012e-05/0.3576, allocations: 1.312 kB / 0.5679 GB, free: 32.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.567e-06/0.3576, allocations: 0 / 0.5679 GB, free: 32.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.3578, allocations: 12.92 kB / 0.5679 GB, free: 32.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.206e-05/0.3578, allocations: 4.625 kB / 0.5679 GB, free: 32.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.39e-05/0.3579, allocations: 5.781 kB / 0.5679 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.064e-05/0.3579, allocations: 0 / 0.5679 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.698e-05/0.3579, allocations: 5.703 kB / 0.5679 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.414e-06/0.3579, allocations: 0 / 0.5679 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.53e-05/0.358, allocations: 20.2 kB / 0.5679 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.966e-06/0.358, allocations: 7.047 kB / 0.568 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.254e-05/0.358, allocations: 4.688 kB / 0.568 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.687e-05/0.3581, allocations: 18.27 kB / 0.568 GB, free: 32.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3581, allocations: 1.094 kB / 0.568 GB, free: 32.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3581, allocations: 0 / 0.568 GB, free: 32.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.3581, allocations: 0.5625 kB / 0.568 GB, free: 32.12 MB / 446.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.000166/0.3583, allocations: 315.2 kB / 0.5683 GB, free: 31.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.3583, allocations: 13.02 kB / 0.5683 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.921e-05/0.3584, allocations: 30.75 kB / 0.5683 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/0.3586, allocations: 18.38 kB / 0.5683 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.214e-05/0.3586, allocations: 162.9 kB / 0.5685 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.3587, allocations: 384 / 0.5685 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.001e-06/0.3587, allocations: 1.812 kB / 0.5685 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.3588, allocations: 35.16 kB / 0.5685 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-06/0.3588, allocations: 4.844 kB / 0.5685 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.3588, allocations: 1.219 kB / 0.5685 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3588, allocations: 1.125 kB / 0.5685 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.267e-05/0.3589, allocations: 13.86 kB / 0.5685 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.715e-05/0.359, allocations: 150.2 kB / 0.5687 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.046e-05/0.359, allocations: 20.34 kB / 0.5687 GB, free: 31.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.596e-05/0.3591, allocations: 10.91 kB / 0.5687 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.3591, allocations: 2.516 kB / 0.5687 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.213e-05/0.3591, allocations: 32.59 kB / 0.5688 GB, free: 31.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.3591, allocations: 0.9375 kB / 0.5688 GB, free: 31.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001939/0.3593, allocations: 55.91 kB / 0.5688 GB, free: 31.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.765e-05/0.3594, allocations: 53.69 kB / 0.5689 GB, free: 31.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.372e-05/0.3594, allocations: 89.86 kB / 0.5689 GB, free: 31.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.951e-06/0.3594, allocations: 27.27 kB / 0.569 GB, free: 31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.436e-06/0.3594, allocations: 82.23 kB / 0.5691 GB, free: 30.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.3594, allocations: 3.906 kB / 0.5691 GB, free: 30.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.3595, allocations: 13.38 kB / 0.5691 GB, free: 30.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.628e-05/0.3595, allocations: 312.7 kB / 0.5694 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.603e-05/0.3596, allocations: 9.391 kB / 0.5694 GB, free: 30.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.73e-05/0.3596, allocations: 6.062 kB / 0.5694 GB, free: 30.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.497e-05/0.3597, allocations: 20.59 kB / 0.5694 GB, free: 30.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3597, allocations: 0 / 0.5694 GB, free: 30.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001089/0.3598, allocations: 45.36 kB / 0.5694 GB, free: 30.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.3598, allocations: 9.75 kB / 0.5695 GB, free: 30.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.3598, allocations: 5.219 kB / 0.5695 GB, free: 30.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.3598, allocations: 2.344 kB / 0.5695 GB, free: 30.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.989e-05/0.3599, allocations: 2.891 kB / 0.5695 GB, free: 30.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3599, allocations: 1.281 kB / 0.5695 GB, free: 30.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.09e-05/0.36, allocations: 3.609 kB / 0.5695 GB, free: 30.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.36, allocations: 2 kB / 0.5695 GB, free: 30.53 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.69e-05/0.36, allocations: 107.8 kB / 0.5696 GB, free: 30.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-06/0.36, allocations: 0.5625 kB / 0.5696 GB, free: 30.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.153e-05/0.3601, allocations: 17.62 kB / 0.5696 GB, free: 30.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.3601, allocations: 1.344 kB / 0.5696 GB, free: 30.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.3601, allocations: 1.219 kB / 0.5696 GB, free: 30.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.3601, allocations: 0.6562 kB / 0.5696 GB, free: 30.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.53e-05/0.3601, allocations: 146.5 kB / 0.5697 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3601, allocations: 3.984 kB / 0.5697 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.3602, allocations: 4.562 kB / 0.5697 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.3602, allocations: 1.594 kB / 0.5697 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.3602, allocations: 4.438 kB / 0.5697 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3602, allocations: 1.594 kB / 0.5697 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3602, allocations: 5.312 kB / 0.5698 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.3603, allocations: 66.36 kB / 0.5698 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.602e-05/0.3604, allocations: 80.94 kB / 0.5699 GB, free: 30.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.3604, allocations: 6.031 kB / 0.5699 GB, free: 30.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.191e-05/0.3604, allocations: 3.328 kB / 0.5699 GB, free: 30.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-06/0.3604, allocations: 0 / 0.5699 GB, free: 30.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.3604, allocations: 2.375 kB / 0.5699 GB, free: 30.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.013e-05/0.3604, allocations: 77.03 kB / 0.57 GB, free: 29.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3605, allocations: 0 / 0.57 GB, free: 29.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001681/0.3606, allocations: 1.094 kB / 0.57 GB, free: 29.96 MB / 446.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): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000249/0.3609, allocations: 0.6063 MB / 0.5706 GB, free: 29.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001175/0.361, allocations: 12.17 kB / 0.5706 GB, free: 29.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.361, allocations: 5.688 kB / 0.5706 GB, free: 29.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.359e-05/0.3611, allocations: 7.5 kB / 0.5706 GB, free: 29.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000116/0.3612, allocations: 3.375 kB / 0.5706 GB, free: 29.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002598/0.3615, allocations: 113.2 kB / 0.5707 GB, free: 29.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.43e-05/0.3615, allocations: 0.6737 MB / 0.5714 GB, free: 28.53 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.261e-05/0.3616, allocations: 2.281 kB / 0.5714 GB, free: 28.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.3616, allocations: 12.03 kB / 0.5714 GB, free: 28.52 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3616, allocations: 5.188 kB / 0.5714 GB, free: 28.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01544/0.3771, allocations: 0.9078 MB / 0.5723 GB, free: 28.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.015/7.392, allocations: 19.09 kB / 0.5723 GB, free: 28.2 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)