Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.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.00152/0.00152, allocations: 108.9 kB / 17.07 MB, free: 6.016 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.001544/0.001544, allocations: 190.8 kB / 20.03 MB, free: 3.082 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.537/1.537, allocations: 222.9 MB / 245.7 MB, free: 4.219 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.106/1.106, allocations: 147.6 MB / 445.5 MB, free: 8.246 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.Reals.Sources.Validation.Pulse,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.297/0.297, allocations: 62.67 kB / 0.6109 GB, free: 37.71 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.4992, allocations: 83.15 MB / 0.6921 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.003822/0.5031, allocations: 0.7033 MB / 0.6928 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002756/0.5059, allocations: 1.129 MB / 0.6939 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.103e-05/0.506, allocations: 0 / 0.6939 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.663e-05/0.5061, allocations: 7.875 kB / 0.6939 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.5062, allocations: 13.64 kB / 0.6939 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00079/0.507, allocations: 134.5 kB / 0.6941 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002865/0.5073, allocations: 133.6 kB / 0.6942 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.5074, allocations: 10.47 kB / 0.6942 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.5076, allocations: 49.19 kB / 0.6943 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.5077, allocations: 38.48 kB / 0.6943 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.5078, allocations: 16.44 kB / 0.6943 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.5079, allocations: 30.69 kB / 0.6943 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.287e-05/0.508, allocations: 5.375 kB / 0.6943 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.5081, allocations: 44.22 kB / 0.6944 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003427/0.5084, allocations: 130 kB / 0.6945 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.5085, allocations: 8 kB / 0.6945 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5085, allocations: 0 / 0.6945 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.5085, allocations: 0 / 0.6945 GB, free: 11.56 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007538/0.5093, allocations: 389.5 kB / 0.6949 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.5093, allocations: 13.31 kB / 0.6949 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.908e-05/0.5094, allocations: 40.5 kB / 0.6949 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.452e-05/0.5095, allocations: 13.52 kB / 0.695 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.5097, allocations: 180.4 kB / 0.6951 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.5097, allocations: 3.469 kB / 0.6951 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.5098, allocations: 5.812 kB / 0.6951 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.51, allocations: 49.25 kB / 0.6952 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.51, allocations: 5.188 kB / 0.6952 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.51, allocations: 0 / 0.6952 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.51, allocations: 0 / 0.6952 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.024e-05/0.5101, allocations: 15.45 kB / 0.6952 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007202/0.5109, allocations: 334.3 kB / 0.6955 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.511, allocations: 33.44 kB / 0.6955 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.872e-05/0.511, allocations: 13.61 kB / 0.6956 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.5111, allocations: 0 / 0.6956 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002633/0.5114, allocations: 69.34 kB / 0.6956 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 2.014e-06/0.5114, allocations: 0 / 0.6956 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0003313/0.5117, allocations: 73.67 kB / 0.6957 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/0.5118, allocations: 53 kB / 0.6957 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.512, allocations: 130.4 kB / 0.6959 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.5121, allocations: 28.36 kB / 0.6959 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.5122, allocations: 88.08 kB / 0.696 GB, free: 10 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.5122, allocations: 13.8 kB / 0.696 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.5124, allocations: 29.02 kB / 0.696 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002189/0.5126, allocations: 321 kB / 0.6963 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.5128, allocations: 37.7 kB / 0.6964 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.513, allocations: 63.09 kB / 0.6964 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.5133, allocations: 91.27 kB / 0.6965 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5133, allocations: 1.25 kB / 0.6965 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005404/0.5138, allocations: 161.2 kB / 0.6967 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.883e-05/0.5139, allocations: 42.22 kB / 0.6967 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.5139, allocations: 3.938 kB / 0.6967 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.514, allocations: 1.156 kB / 0.6967 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.956e-05/0.5141, allocations: 10.03 kB / 0.6967 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.5141, allocations: 1.875 kB / 0.6967 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.5144, allocations: 24.09 kB / 0.6967 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.5145, allocations: 9.547 kB / 0.6968 GB, free: 9.316 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.000171/0.5147, allocations: 119.5 kB / 0.6969 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.5147, allocations: 9.859 kB / 0.6969 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.627e-05/0.5148, allocations: 9.875 kB / 0.6969 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.5148, allocations: 4 kB / 0.6969 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5148, allocations: 0 / 0.6969 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5148, allocations: 2 kB / 0.6969 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.5151, allocations: 174.5 kB / 0.6971 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.5151, allocations: 0 / 0.6971 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.582e-05/0.5151, allocations: 1.656 kB / 0.6971 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.5152, allocations: 1.688 kB / 0.6971 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.5152, allocations: 0 / 0.6971 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.5152, allocations: 1.219 kB / 0.6971 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5152, allocations: 0 / 0.6971 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.5154, allocations: 103.6 kB / 0.6972 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.759e-05/0.5155, allocations: 82.53 kB / 0.6972 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.5156, allocations: 1.406 kB / 0.6972 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.446e-05/0.5156, allocations: 0 / 0.6972 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.5157, allocations: 13.52 kB / 0.6973 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.5157, allocations: 2.75 kB / 0.6973 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001047/0.5158, allocations: 94.33 kB / 0.6974 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5158, allocations: 0 / 0.6974 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004009/0.5163, allocations: 24.53 kB / 0.6974 GB, free: 8.66 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007812/0.5171, allocations: 0.6342 MB / 0.698 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004118/0.5175, allocations: 137.2 kB / 0.6981 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5175, allocations: 0 / 0.6981 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.576e-05/0.5176, allocations: 26.2 kB / 0.6981 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.518, allocations: 18.44 kB / 0.6982 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.5208, allocations: 1.485 MB / 0.6996 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/0.5214, allocations: 0.6862 MB / 0.7003 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.811e-05/0.5214, allocations: 4.125 kB / 0.7003 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.113e-05/0.5215, allocations: 22.17 kB / 0.7003 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of SimCode: time 9.32e-07/0.5215, allocations: 3.938 kB / 0.7003 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03057/0.5521, allocations: 2.348 MB / 0.7026 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.863/8.415, allocations: 4.812 kB / 0.7026 GB, free: 3.891 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.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_Reals_Sources_Validation_Pulse.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.151641495060176] Failed to read output from testmodel.py, exit status != 0: 8.482700333930552 8.500174029 7.988773932 Calling exit ...