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.001429/0.001429, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.002386/0.002386, allocations: 212.6 kB / 23.78 MB, free: 4.555 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.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 7.809 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 0.9665/0.9665, allocations: 150 MB / 464 MB, free: 10.23 MB / 366.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.002273/0.002273, allocations: 71.42 kB / 0.642 GB, free: 9.879 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.2012, allocations: 89.17 MB / 0.7291 GB, free: 0.793 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002079/0.2033, allocations: 0.6962 MB / 0.7297 GB, free: 100 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001588/0.2049, allocations: 1.151 MB / 0.7309 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.782e-05/0.2049, allocations: 0 / 0.7309 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.237e-05/0.2049, allocations: 3.938 kB / 0.7309 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.335e-05/0.205, allocations: 19.86 kB / 0.7309 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004664/0.2055, allocations: 128 kB / 0.731 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.2057, allocations: 123.8 kB / 0.7311 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.2058, allocations: 8 kB / 0.7311 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.619e-05/0.2059, allocations: 51.89 kB / 0.7312 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.206, allocations: 43.83 kB / 0.7312 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.373e-05/0.206, allocations: 16 kB / 0.7312 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-05/0.2061, allocations: 20 kB / 0.7313 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.023e-05/0.2062, allocations: 15.92 kB / 0.7313 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.103e-05/0.2062, allocations: 39.84 kB / 0.7313 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.2065, allocations: 131.9 kB / 0.7314 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.2065, allocations: 4 kB / 0.7315 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2065, allocations: 0 / 0.7315 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.2065, allocations: 0 / 0.7315 GB, free: 14.34 MB / 0.5606 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.0006025/0.2071, allocations: 315.8 kB / 0.7318 GB, free: 14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.2071, allocations: 8.031 kB / 0.7318 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.715e-05/0.2072, allocations: 8.188 kB / 0.7318 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.627e-05/0.2072, allocations: 38.73 kB / 0.7318 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.059e-05/0.2072, allocations: 8.891 kB / 0.7318 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.2074, allocations: 118.5 kB / 0.7319 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.2074, allocations: 384 / 0.7319 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.2074, allocations: 12.38 kB / 0.7319 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.2075, allocations: 45.94 kB / 0.732 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2076, allocations: 11.88 kB / 0.732 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.2076, allocations: 0 / 0.732 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.2076, allocations: 3.984 kB / 0.732 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.835e-05/0.2076, allocations: 15.98 kB / 0.732 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.2081, allocations: 279.9 kB / 0.7323 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.212e-05/0.2081, allocations: 30.52 kB / 0.7323 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.691e-05/0.2082, allocations: 12.92 kB / 0.7323 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.2082, allocations: 0 / 0.7323 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.2084, allocations: 63.38 kB / 0.7324 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.2084, allocations: 0 / 0.7324 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002293/0.2086, allocations: 85.58 kB / 0.7325 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.2086, allocations: 51.41 kB / 0.7325 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.2088, allocations: 124.9 kB / 0.7326 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.2088, allocations: 37.7 kB / 0.7327 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.78e-05/0.2089, allocations: 96.08 kB / 0.7328 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.2089, allocations: 3.953 kB / 0.7328 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.268e-05/0.209, allocations: 29.7 kB / 0.7328 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.2091, allocations: 326.8 kB / 0.7331 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.2092, allocations: 65.69 kB / 0.7332 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.2094, allocations: 88.25 kB / 0.7332 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.2095, allocations: 96.2 kB / 0.7333 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2095, allocations: 0 / 0.7333 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003222/0.2098, allocations: 201 kB / 0.7335 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.28e-05/0.2099, allocations: 37.69 kB / 0.7336 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2099, allocations: 64 / 0.7336 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2099, allocations: 4 kB / 0.7336 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.39e-05/0.2099, allocations: 4 kB / 0.7336 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.2099, allocations: 0 / 0.7336 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.2101, allocations: 27.97 kB / 0.7336 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.2102, allocations: 7.984 kB / 0.7336 GB, free: 11.88 MB / 0.5606 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.0001069/0.2103, allocations: 125.8 kB / 0.7337 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.2103, allocations: 7.953 kB / 0.7337 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.96e-05/0.2103, allocations: 4 kB / 0.7337 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2103, allocations: 7.875 kB / 0.7337 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2103, allocations: 0 / 0.7337 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2103, allocations: 0 / 0.7337 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.2105, allocations: 144.7 kB / 0.7339 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2105, allocations: 0 / 0.7339 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.741e-05/0.2105, allocations: 7.938 kB / 0.7339 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2105, allocations: 0 / 0.7339 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.2105, allocations: 8 kB / 0.7339 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2105, allocations: 0 / 0.7339 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2105, allocations: 0 / 0.7339 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.2106, allocations: 89.05 kB / 0.734 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.82e-05/0.2107, allocations: 11.95 kB / 0.734 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.2107, allocations: 0 / 0.734 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.925e-05/0.2107, allocations: 0 / 0.734 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.2107, allocations: 3.984 kB / 0.734 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.2107, allocations: 4 kB / 0.734 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.378e-05/0.2108, allocations: 103.2 kB / 0.7341 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2108, allocations: 0 / 0.7341 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002297/0.211, allocations: 23.94 kB / 0.7341 GB, free: 11.27 MB / 0.5606 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.0005033/0.2115, allocations: 0.6322 MB / 0.7347 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002597/0.2118, allocations: 153 kB / 0.7349 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2118, allocations: 0 / 0.7349 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.869e-05/0.2118, allocations: 15.98 kB / 0.7349 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.2121, allocations: 18.17 kB / 0.7349 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.2139, allocations: 1.642 MB / 0.7365 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.469e-05/0.214, allocations: 71.23 kB / 0.7366 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.166e-05/0.214, allocations: 4 kB / 0.7366 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/0.2141, allocations: 19.44 kB / 0.7366 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.2141, allocations: 0 / 0.7366 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.2381, allocations: 2.645 MB / 0.7392 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.63, allocations: 10.23 kB / 0.7392 GB, free: 6.059 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.590073890052736] Failed to read output from testmodel.py, exit status != 0: 11.79435189301148 11.819867802 11.608643118 Calling exit ...