Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.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.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer",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.001059/0.001059, allocations: 107 kB / 16.27 MB, free: 5.93 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.001001/0.001001, allocations: 186.5 kB / 17.2 MB, free: 5.574 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.208/1.208, 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.7035/0.7035, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 67.91 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2721, allocations: 77.93 MB / 0.5673 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002242/0.2744, allocations: 1.445 MB / 0.5687 GB, free: 31.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005612/0.2749, allocations: 449.1 kB / 0.5691 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.607e-05/0.275, allocations: 1.438 kB / 0.5691 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.747e-05/0.275, allocations: 4.969 kB / 0.5691 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.77e-05/0.2751, allocations: 6.594 kB / 0.5691 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/0.2752, allocations: 21.27 kB / 0.5691 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.506e-05/0.2753, allocations: 56.08 kB / 0.5692 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.973e-05/0.2754, allocations: 16.69 kB / 0.5692 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.797e-05/0.2755, allocations: 17.8 kB / 0.5692 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.44e-05/0.2755, allocations: 23.81 kB / 0.5693 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.2756, allocations: 4.188 kB / 0.5693 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/0.2756, allocations: 4.312 kB / 0.5693 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.2756, allocations: 14.11 kB / 0.5693 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.237e-05/0.2756, allocations: 26.7 kB / 0.5693 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.6e-05/0.2757, allocations: 44.88 kB / 0.5693 GB, free: 31.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2757, allocations: 3.594 kB / 0.5693 GB, free: 31.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2757, allocations: 0 / 0.5693 GB, free: 31.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.2758, allocations: 0 / 0.5693 GB, free: 31.25 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003971/0.2762, allocations: 357.3 kB / 0.5697 GB, free: 30.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.2762, allocations: 12.25 kB / 0.5697 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.342e-05/0.2762, allocations: 33.05 kB / 0.5697 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.2763, allocations: 11.91 kB / 0.5697 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.342e-05/0.2763, allocations: 166.4 kB / 0.5699 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.2764, allocations: 2.594 kB / 0.5699 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.2764, allocations: 5.781 kB / 0.5699 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.034e-05/0.2765, allocations: 66.36 kB / 0.57 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-06/0.2765, allocations: 0 / 0.57 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.2765, allocations: 1.062 kB / 0.57 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2765, allocations: 6.312 kB / 0.57 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.664e-05/0.2766, allocations: 22.38 kB / 0.57 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003675/0.2769, allocations: 310.6 kB / 0.5703 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.828e-05/0.277, allocations: 57.25 kB / 0.5704 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.215e-05/0.2771, allocations: 24.27 kB / 0.5704 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.2771, allocations: 2.188 kB / 0.5704 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001286/0.2772, allocations: 78.28 kB / 0.5705 GB, free: 30.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.954e-06/0.2773, allocations: 0.75 kB / 0.5705 GB, free: 30.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.000184/0.2774, allocations: 100.5 kB / 0.5705 GB, free: 30.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.2775, allocations: 60.58 kB / 0.5706 GB, free: 30.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.693e-05/0.2775, allocations: 102.3 kB / 0.5707 GB, free: 29.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.2775, allocations: 28.97 kB / 0.5707 GB, free: 29.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.421e-05/0.2776, allocations: 94.53 kB / 0.5708 GB, free: 29.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.2776, allocations: 17.62 kB / 0.5708 GB, free: 29.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.2776, allocations: 28.97 kB / 0.5709 GB, free: 29.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.59e-05/0.2777, allocations: 319.4 kB / 0.5712 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.299e-05/0.2777, allocations: 19.52 kB / 0.5712 GB, free: 29.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.373e-05/0.2778, allocations: 45.95 kB / 0.5712 GB, free: 29.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.243e-05/0.2778, allocations: 67.64 kB / 0.5713 GB, free: 29.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2779, allocations: 0.5938 kB / 0.5713 GB, free: 29.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001208/0.278, allocations: 107.4 kB / 0.5714 GB, free: 29.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.278, allocations: 5.188 kB / 0.5714 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.278, allocations: 1.812 kB / 0.5714 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.278, allocations: 2.344 kB / 0.5714 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.283e-05/0.2781, allocations: 8.844 kB / 0.5714 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.2781, allocations: 3.594 kB / 0.5714 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.337e-05/0.2782, allocations: 9.812 kB / 0.5714 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.2782, allocations: 12.11 kB / 0.5714 GB, free: 29.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 5.776e-05/0.2782, allocations: 121.1 kB / 0.5716 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.2783, allocations: 13.09 kB / 0.5716 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.257e-05/0.2783, allocations: 9.094 kB / 0.5716 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.2783, allocations: 1.656 kB / 0.5716 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2783, allocations: 1.094 kB / 0.5716 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2783, allocations: 0.6562 kB / 0.5716 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000304/0.2786, allocations: 362.7 kB / 0.5719 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2786, allocations: 0 / 0.5719 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.473e-05/0.2787, allocations: 5.406 kB / 0.5719 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2787, allocations: 0 / 0.5719 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.2787, allocations: 3.391 kB / 0.5719 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2787, allocations: 5.062 kB / 0.5719 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2787, allocations: 0.9844 kB / 0.5719 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.2788, allocations: 182.8 kB / 0.5721 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.923e-05/0.2788, allocations: 80.2 kB / 0.5722 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.2789, allocations: 2.859 kB / 0.5722 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.572e-05/0.279, allocations: 17.61 kB / 0.5722 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.279, allocations: 7.75 kB / 0.5722 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.279, allocations: 2.594 kB / 0.5722 GB, free: 28.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.362e-05/0.279, allocations: 90.91 kB / 0.5723 GB, free: 28.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.279, allocations: 0 / 0.5723 GB, free: 28.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.2793, allocations: 10.81 kB / 0.5723 GB, free: 28.48 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002504/0.2795, allocations: 0.7165 MB / 0.573 GB, free: 27.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001171/0.2797, allocations: 55.08 kB / 0.5731 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2797, allocations: 1.094 kB / 0.5731 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.715e-05/0.2797, allocations: 31.77 kB / 0.5731 GB, free: 27.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.28, allocations: 19.02 kB / 0.5731 GB, free: 27.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008992/0.2809, allocations: 1.371 MB / 0.5745 GB, free: 26.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.849e-05/0.281, allocations: 0.6868 MB / 0.5751 GB, free: 25.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.511e-05/0.281, allocations: 9.906 kB / 0.5751 GB, free: 25.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.592e-05/0.2811, allocations: 16.84 kB / 0.5752 GB, free: 25.79 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2811, allocations: 0 / 0.5752 GB, free: 25.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.2973, allocations: 1.718 MB / 0.5768 GB, free: 25.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.814/7.111, allocations: 10.95 kB / 0.5768 GB, free: 25.43 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)