Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 107.3 kB / 17.06 MB, free: 6.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.001391, allocations: 191.8 kB / 20.02 MB, free: 3.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 222.9 MB / 245.7 MB, free: 4.234 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.216/1.216, allocations: 147.6 MB / 445.5 MB, free: 8.5 MB / 350.1 MB " [Timeout remaining time 179] 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.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002254, allocations: 67.89 kB / 0.6109 GB, free: 112 kB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4429/0.4452, allocations: 83.14 MB / 0.6921 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002811/0.4481, allocations: 0.9475 MB / 0.693 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002562/0.4507, allocations: 1.432 MB / 0.6944 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.4509, allocations: 1.312 kB / 0.6944 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.561e-05/0.4509, allocations: 19.73 kB / 0.6944 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.4512, allocations: 49.12 kB / 0.6945 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.4524, allocations: 448.9 kB / 0.6949 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007697/0.4532, allocations: 0.5156 MB / 0.6954 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.4534, allocations: 51.23 kB / 0.6955 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003038/0.4537, allocations: 179.4 kB / 0.6956 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.454, allocations: 159.4 kB / 0.6958 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.937e-05/0.4541, allocations: 49.5 kB / 0.6958 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.4543, allocations: 58.98 kB / 0.6959 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.68e-05/0.4543, allocations: 48.02 kB / 0.6959 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002209/0.4546, allocations: 167.4 kB / 0.6961 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006797/0.4553, allocations: 0.4899 MB / 0.6966 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.4553, allocations: 0 / 0.6966 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4553, allocations: 0 / 0.6966 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.4553, allocations: 4 kB / 0.6966 GB, free: 10.11 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00112/0.4564, allocations: 0.63 MB / 0.6972 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.4565, allocations: 9.625 kB / 0.6972 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.082e-05/0.4566, allocations: 41.48 kB / 0.6972 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.4567, allocations: 31.39 kB / 0.6973 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.457, allocations: 235.8 kB / 0.6975 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.114e-05/0.4571, allocations: 17.78 kB / 0.6975 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.408e-05/0.4572, allocations: 23.8 kB / 0.6975 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.4574, allocations: 121 kB / 0.6977 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.4574, allocations: 3.938 kB / 0.6977 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.4575, allocations: 1.344 kB / 0.6977 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.4575, allocations: 2.719 kB / 0.6977 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.4576, allocations: 58.5 kB / 0.6977 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.4588, allocations: 0.8736 MB / 0.6986 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.459, allocations: 120 kB / 0.6987 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.503e-05/0.4591, allocations: 50.8 kB / 0.6987 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.4592, allocations: 5.438 kB / 0.6987 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003982/0.4596, allocations: 171.8 kB / 0.6989 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 2.445e-06/0.4596, allocations: 0 / 0.6989 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.000664/0.4603, allocations: 232.8 kB / 0.6991 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.4604, allocations: 132.5 kB / 0.6993 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.4607, allocations: 244.9 kB / 0.6995 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.702e-05/0.4608, allocations: 33.7 kB / 0.6995 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.4609, allocations: 132.5 kB / 0.6996 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.461, allocations: 43.73 kB / 0.6997 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.4612, allocations: 89.64 kB / 0.6998 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.4614, allocations: 330.8 kB / 0.7001 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003732/0.4618, allocations: 144.2 kB / 0.7002 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/0.4621, allocations: 236.1 kB / 0.7004 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005095/0.4627, allocations: 365 kB / 0.7008 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.4627, allocations: 0 / 0.7008 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00104/0.4637, allocations: 0.5546 MB / 0.7013 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.4639, allocations: 135 kB / 0.7015 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.4639, allocations: 4 kB / 0.7015 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.4639, allocations: 4 kB / 0.7015 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.819e-05/0.464, allocations: 15.92 kB / 0.7015 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.464, allocations: 7.984 kB / 0.7015 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007183/0.4648, allocations: 115.7 kB / 0.7016 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.782e-05/0.4648, allocations: 40.84 kB / 0.7016 GB, free: 4.844 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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 0.000215/0.4651, allocations: 141.8 kB / 0.7018 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.777e-05/0.4652, allocations: 23.86 kB / 0.7018 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.597e-05/0.4652, allocations: 21.23 kB / 0.7018 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.4652, allocations: 4 kB / 0.7018 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.4653, allocations: 4 kB / 0.7018 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.4653, allocations: 7.938 kB / 0.7018 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004107/0.4657, allocations: 253.5 kB / 0.7021 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.4657, allocations: 4 kB / 0.7021 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.098e-05/0.4658, allocations: 19.91 kB / 0.7021 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.4658, allocations: 4 kB / 0.7021 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.4658, allocations: 4 kB / 0.7021 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.4658, allocations: 0 / 0.7021 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4658, allocations: 0 / 0.7021 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003676/0.4662, allocations: 229.4 kB / 0.7023 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.923e-05/0.4663, allocations: 97 kB / 0.7024 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.4663, allocations: 4 kB / 0.7024 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.245e-05/0.4664, allocations: 8 kB / 0.7024 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.4664, allocations: 11.92 kB / 0.7024 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.4665, allocations: 15.98 kB / 0.7025 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000177/0.4666, allocations: 164.5 kB / 0.7026 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.4667, allocations: 0 / 0.7026 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004482/0.4671, allocations: 79.88 kB / 0.7027 GB, free: 3.664 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007859/0.4679, allocations: 0.7642 MB / 0.7034 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008991/0.4688, allocations: 0.5325 MB / 0.704 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4688, allocations: 0 / 0.704 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.469, allocations: 67.92 kB / 0.704 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005209/0.4695, allocations: 66.47 kB / 0.7041 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004774/0.4743, allocations: 3.01 MB / 0.707 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.4747, allocations: 0.732 MB / 0.7077 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.4748, allocations: 21.53 kB / 0.7078 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.4749, allocations: 59.41 kB / 0.7078 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of SimCode: time 9.91e-07/0.4749, allocations: 0 / 0.7078 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0332/0.5082, allocations: 6.398 MB / 0.7141 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.573/9.081, allocations: 11.77 kB / 0.7141 GB, free: 7.859 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.908360532019287] Failed to read output from testmodel.py, exit status != 0: 9.153053588001058 9.166401404 8.708475173 Calling exit ...