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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 118.8 kB / 17.84 MB, free: 5.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 202.3 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.657/1.657, allocations: 230.6 MB / 254.2 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.036/1.036, allocations: 150 MB / 460.2 MB, free: 5.32 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 77.17 kB / 0.6368 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2056, allocations: 89.14 MB / 0.7239 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002086/0.2076, allocations: 0.6951 MB / 0.7246 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.2094, allocations: 1.173 MB / 0.7257 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.068e-05/0.2095, allocations: 0 / 0.7257 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/0.2095, allocations: 3.938 kB / 0.7257 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.2096, allocations: 19.84 kB / 0.7257 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005171/0.2101, allocations: 137.1 kB / 0.7259 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.2103, allocations: 119.8 kB / 0.726 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.419e-05/0.2104, allocations: 8 kB / 0.726 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.692e-05/0.2105, allocations: 55.83 kB / 0.726 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.2106, allocations: 43.83 kB / 0.7261 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.2107, allocations: 15.94 kB / 0.7261 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.235e-05/0.2107, allocations: 23.98 kB / 0.7261 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.2108, allocations: 4 kB / 0.7261 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.947e-05/0.2108, allocations: 47.83 kB / 0.7262 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.211, allocations: 127.9 kB / 0.7263 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2111, allocations: 0 / 0.7263 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2111, allocations: 0 / 0.7263 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.2111, allocations: 3.938 kB / 0.7263 GB, free: 1.539 MB / 0.5294 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.0006261/0.2117, allocations: 404.9 kB / 0.7267 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.2117, allocations: 12.03 kB / 0.7267 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.742e-05/0.2117, allocations: 4.125 kB / 0.7267 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.493e-05/0.2118, allocations: 30.75 kB / 0.7267 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.2118, allocations: 8.891 kB / 0.7267 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.212, allocations: 180.3 kB / 0.7269 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.212, allocations: 384 / 0.7269 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.2121, allocations: 8.375 kB / 0.7269 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.2122, allocations: 46 kB / 0.727 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.2122, allocations: 4 kB / 0.727 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.2122, allocations: 0 / 0.727 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.2122, allocations: 0 / 0.727 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.09e-05/0.2122, allocations: 23.92 kB / 0.727 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/0.2127, allocations: 328.7 kB / 0.7273 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.072e-05/0.2128, allocations: 26.58 kB / 0.7273 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.549e-05/0.2128, allocations: 8.922 kB / 0.7273 GB, free: 308 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-06/0.2128, allocations: 4 kB / 0.7273 GB, free: 304 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.213, allocations: 67.33 kB / 0.7274 GB, free: 224 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.213, allocations: 0 / 0.7274 GB, free: 224 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002341/0.2132, allocations: 77.62 kB / 0.7275 GB, free: 140 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.2133, allocations: 51.41 kB / 0.7275 GB, free: 76 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.2135, allocations: 133.2 kB / 0.7276 GB, free: 15.94 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.2135, allocations: 25.7 kB / 0.7277 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.972e-05/0.2136, allocations: 96.09 kB / 0.7278 GB, free: 15.81 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.2136, allocations: 11.94 kB / 0.7278 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.187e-05/0.2137, allocations: 29.7 kB / 0.7278 GB, free: 15.76 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.2139, allocations: 322.8 kB / 0.7281 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.214, allocations: 39.98 kB / 0.7282 GB, free: 15.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.2141, allocations: 58.44 kB / 0.7282 GB, free: 15.33 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.2142, allocations: 92.27 kB / 0.7283 GB, free: 15.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2142, allocations: 0 / 0.7283 GB, free: 15.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003422/0.2146, allocations: 171.5 kB / 0.7285 GB, free: 15.05 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.751e-05/0.2146, allocations: 33.69 kB / 0.7285 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2146, allocations: 4 kB / 0.7285 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2146, allocations: 3.938 kB / 0.7285 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.063e-05/0.2147, allocations: 11.94 kB / 0.7285 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.2147, allocations: 0 / 0.7285 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.2149, allocations: 32.02 kB / 0.7285 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.2149, allocations: 8.062 kB / 0.7285 GB, free: 14.95 MB / 0.545 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.0001176/0.215, allocations: 121.8 kB / 0.7287 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.2151, allocations: 3.953 kB / 0.7287 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.2151, allocations: 7.906 kB / 0.7287 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.2151, allocations: 0 / 0.7287 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2151, allocations: 0 / 0.7287 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2151, allocations: 4 kB / 0.7287 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.2153, allocations: 181.6 kB / 0.7289 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.2153, allocations: 0 / 0.7289 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.449e-05/0.2153, allocations: 0 / 0.7289 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2153, allocations: 0 / 0.7289 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.2153, allocations: 0 / 0.7289 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.2153, allocations: 7.984 kB / 0.7289 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2153, allocations: 0 / 0.7289 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.2154, allocations: 96.98 kB / 0.729 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.811e-05/0.2155, allocations: 89 kB / 0.729 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.2155, allocations: 0 / 0.729 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.948e-05/0.2155, allocations: 0 / 0.729 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.2156, allocations: 7.984 kB / 0.729 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.2156, allocations: 0 / 0.729 GB, free: 14.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.017e-05/0.2156, allocations: 99.27 kB / 0.7291 GB, free: 14.24 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2156, allocations: 0 / 0.7291 GB, free: 14.24 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002163/0.2158, allocations: 16 kB / 0.7292 GB, free: 14.22 MB / 0.545 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.0005148/0.2164, allocations: 0.6396 MB / 0.7298 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002383/0.2166, allocations: 119.4 kB / 0.7299 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2166, allocations: 0 / 0.7299 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.834e-05/0.2167, allocations: 15.94 kB / 0.7299 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.2169, allocations: 20.05 kB / 0.7299 GB, free: 13.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.2186, allocations: 1.499 MB / 0.7314 GB, free: 11.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.2189, allocations: 0.6885 MB / 0.7321 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.57e-05/0.2189, allocations: 0 / 0.7321 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.219, allocations: 27.42 kB / 0.7321 GB, free: 11.06 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.219, allocations: 0 / 0.7321 GB, free: 11.06 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.2386, allocations: 2.402 MB / 0.7344 GB, free: 8.797 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.302/8.541, allocations: 18.42 kB / 0.7345 GB, free: 8.785 MB / 0.545 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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 os._exit(0), Time elapsed: 12.719680565991439] Failed to read output from testmodel.py, exit status != 0: 8.672404352982994 8.696946568 8.482390568 Calling exit ...