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.001577/0.001577, allocations: 112.9 kB / 17.08 MB, free: 5.977 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.001749/0.001749, allocations: 190.8 kB / 20.03 MB, free: 3.047 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.553/1.553, allocations: 222.9 MB / 245.7 MB, free: 4.223 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.198/1.198, allocations: 147.6 MB / 445.6 MB, free: 8.234 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.2632/0.2632, allocations: 65.98 kB / 0.6109 GB, free: 37.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.4309, allocations: 83.13 MB / 0.6921 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002677/0.4336, allocations: 0.947 MB / 0.693 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00243/0.436, allocations: 1.435 MB / 0.6944 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.4362, allocations: 2.844 kB / 0.6944 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.615e-05/0.4363, allocations: 15.75 kB / 0.6945 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.4365, allocations: 47.42 kB / 0.6945 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.4378, allocations: 449.2 kB / 0.6949 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006181/0.4384, allocations: 0.5155 MB / 0.6954 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.4386, allocations: 46.97 kB / 0.6955 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002306/0.4388, allocations: 183.9 kB / 0.6956 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.4391, allocations: 162.9 kB / 0.6958 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.276e-05/0.4392, allocations: 49.72 kB / 0.6959 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.4393, allocations: 68.3 kB / 0.6959 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.082e-05/0.4394, allocations: 30.86 kB / 0.6959 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.4396, allocations: 171.7 kB / 0.6961 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005709/0.4402, allocations: 0.4924 MB / 0.6966 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.4402, allocations: 5.312 kB / 0.6966 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4402, allocations: 0 / 0.6966 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.4402, allocations: 4 kB / 0.6966 GB, free: 10.06 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.0008922/0.4411, allocations: 0.6261 MB / 0.6972 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.4412, allocations: 9.625 kB / 0.6972 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.268e-05/0.4412, allocations: 41.48 kB / 0.6973 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.837e-05/0.4413, allocations: 30.67 kB / 0.6973 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.4416, allocations: 231.6 kB / 0.6975 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.945e-05/0.4416, allocations: 27.3 kB / 0.6975 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.065e-05/0.4417, allocations: 22.25 kB / 0.6976 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.4419, allocations: 117.3 kB / 0.6977 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.4419, allocations: 5.312 kB / 0.6977 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.4419, allocations: 9.312 kB / 0.6977 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.4419, allocations: 1.375 kB / 0.6977 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.4421, allocations: 50.09 kB / 0.6977 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.4431, allocations: 0.8746 MB / 0.6986 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.4433, allocations: 123.7 kB / 0.6987 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.945e-05/0.4434, allocations: 50.86 kB / 0.6988 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.4434, allocations: 1.156 kB / 0.6988 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002899/0.4437, allocations: 185.2 kB / 0.6989 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.863e-06/0.4437, allocations: 0 / 0.6989 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.0005169/0.4442, allocations: 221.4 kB / 0.6991 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.304e-05/0.4443, allocations: 136.5 kB / 0.6993 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002815/0.4446, allocations: 244.9 kB / 0.6995 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.524e-05/0.4447, allocations: 37.7 kB / 0.6995 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.4448, allocations: 124.5 kB / 0.6997 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.4449, allocations: 43.72 kB / 0.6997 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.4451, allocations: 89.66 kB / 0.6998 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.4452, allocations: 338.8 kB / 0.7001 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003253/0.4456, allocations: 140.2 kB / 0.7002 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/0.4459, allocations: 236.1 kB / 0.7005 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004939/0.4464, allocations: 365 kB / 0.7008 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4465, allocations: 0 / 0.7008 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001/0.4475, allocations: 0.547 MB / 0.7014 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.4476, allocations: 142.8 kB / 0.7015 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.4476, allocations: 0 / 0.7015 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.4476, allocations: 7.938 kB / 0.7015 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.331e-05/0.4477, allocations: 19.98 kB / 0.7015 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.4478, allocations: 7.938 kB / 0.7015 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007101/0.4485, allocations: 111.7 kB / 0.7016 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.398e-05/0.4486, allocations: 27.92 kB / 0.7017 GB, free: 4.801 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.000178/0.4487, allocations: 149.8 kB / 0.7018 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.4488, allocations: 19.86 kB / 0.7018 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.218e-05/0.4488, allocations: 21.23 kB / 0.7018 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4489, allocations: 4 kB / 0.7018 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.4489, allocations: 4 kB / 0.7018 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.4489, allocations: 7.938 kB / 0.7019 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/0.4492, allocations: 253.5 kB / 0.7021 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4492, allocations: 7.938 kB / 0.7021 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.507e-05/0.4492, allocations: 11.98 kB / 0.7021 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.4493, allocations: 0 / 0.7021 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.4493, allocations: 4.938 kB / 0.7021 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.4493, allocations: 0 / 0.7021 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.4493, allocations: 8 kB / 0.7021 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000332/0.4496, allocations: 227.3 kB / 0.7023 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.908e-05/0.4497, allocations: 93.02 kB / 0.7024 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.4498, allocations: 3.984 kB / 0.7024 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.641e-05/0.4498, allocations: 8 kB / 0.7024 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.4499, allocations: 19.91 kB / 0.7025 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.4499, allocations: 8 kB / 0.7025 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001694/0.4501, allocations: 176.4 kB / 0.7026 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4501, allocations: 0 / 0.7026 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003602/0.4504, allocations: 71.89 kB / 0.7027 GB, free: 3.617 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.0007244/0.4512, allocations: 0.7713 MB / 0.7035 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008134/0.452, allocations: 0.5247 MB / 0.704 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.452, allocations: 0 / 0.704 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.4521, allocations: 67.91 kB / 0.704 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004711/0.4526, allocations: 70.58 kB / 0.7041 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00435/0.457, allocations: 3.01 MB / 0.707 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.4574, allocations: 0.7281 MB / 0.7078 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.6e-05/0.4575, allocations: 17.55 kB / 0.7078 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.4576, allocations: 63.41 kB / 0.7078 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of SimCode: time 1.102e-06/0.4576, allocations: 3.938 kB / 0.7078 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0315/0.4891, allocations: 6.394 MB / 0.7141 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.223/8.712, allocations: 15.72 kB / 0.7141 GB, free: 7.805 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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.471293564187363] Failed to read output from testmodel.py, exit status != 0: 8.785246951971203 8.811931228 8.366886603 Calling exit ...