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.00116/0.00116, allocations: 80.48 kB / 19.93 MB, free: 4.621 MB / 18.57 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.001075/0.001075, allocations: 169.9 kB / 23.2 MB, free: 1.348 MB / 18.57 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 0.9353/0.9353, allocations: 177.2 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.5907/0.5907, allocations: 114 MB / 373.9 MB, free: 8.711 MB / 346.7 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="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 3.387e-06/3.387e-06, allocations: 0 / 0.5542 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.692e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001902/0.001929, allocations: 0.7025 MB / 0.5549 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.003415, allocations: 1.143 MB / 0.556 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.024e-05/0.003475, allocations: 0 / 0.556 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.538e-05/0.00351, allocations: 7.922 kB / 0.556 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.758e-05/0.003598, allocations: 11.88 kB / 0.556 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005214/0.004119, allocations: 141.4 kB / 0.5562 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.004307, allocations: 127.7 kB / 0.5563 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.004414, allocations: 8 kB / 0.5563 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.004531, allocations: 67.83 kB / 0.5564 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.004635, allocations: 39.88 kB / 0.5564 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.004662, allocations: 12 kB / 0.5564 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.787e-05/0.00473, allocations: 16 kB / 0.5564 GB, free: 488 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.431e-05/0.004754, allocations: 11.98 kB / 0.5565 GB, free: 476 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 5.884e-05/0.004813, allocations: 39.91 kB / 0.5565 GB, free: 436 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.005041, allocations: 147.7 kB / 0.5566 GB, free: 288 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.005045, allocations: 7.938 kB / 0.5566 GB, free: 280 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.864e-06/0.005047, allocations: 0 / 0.5566 GB, free: 280 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.005052, allocations: 0 / 0.5566 GB, free: 280 kB / 0.5105 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.0005304/0.005582, allocations: 319.8 kB / 0.5569 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.005631, allocations: 8.625 kB / 0.557 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001168/0.005748, allocations: 38.73 kB / 0.557 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.126e-05/0.005799, allocations: 12.89 kB / 0.557 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.005907, allocations: 105.8 kB / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.005935, allocations: 12.38 kB / 0.5571 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.005954, allocations: 4.375 kB / 0.5571 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.006056, allocations: 46.19 kB / 0.5572 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.006065, allocations: 4.188 kB / 0.5572 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.006075, allocations: 4.359 kB / 0.5572 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.006082, allocations: 4.125 kB / 0.5572 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.04e-05/0.006132, allocations: 12 kB / 0.5572 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004272/0.00656, allocations: 283.9 kB / 0.5575 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.092e-05/0.006631, allocations: 30.45 kB / 0.5575 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.612e-05/0.006657, allocations: 16.92 kB / 0.5575 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.006671, allocations: 7.938 kB / 0.5575 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000214/0.006885, allocations: 63.38 kB / 0.5576 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 2.084e-06/0.006887, allocations: 4 kB / 0.5576 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0002214/0.007108, allocations: 81.58 kB / 0.5577 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.007149, allocations: 51.41 kB / 0.5577 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.007252, allocations: 129.8 kB / 0.5578 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.007273, allocations: 29.7 kB / 0.5579 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.007322, allocations: 88.14 kB / 0.5579 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.007337, allocations: 11.91 kB / 0.5579 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.286e-05/0.0074, allocations: 29.7 kB / 0.558 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.791e-05/0.007487, allocations: 318.8 kB / 0.5583 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.007588, allocations: 69.62 kB / 0.5583 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.00769, allocations: 92.25 kB / 0.5584 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.00781, allocations: 96.2 kB / 0.5585 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.007813, allocations: 0 / 0.5585 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002738/0.008086, allocations: 196.9 kB / 0.5587 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.254e-05/0.008129, allocations: 39.88 kB / 0.5588 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.008135, allocations: 0 / 0.5588 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.008154, allocations: 4 kB / 0.5588 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.885e-05/0.008213, allocations: 0 / 0.5588 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.00822, allocations: 4 kB / 0.5588 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.008385, allocations: 35.98 kB / 0.5588 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.008404, allocations: 7.984 kB / 0.5588 GB, free: 13.8 MB / 0.5261 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 8.712e-05/0.008491, allocations: 113.8 kB / 0.5589 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.008505, allocations: 7.938 kB / 0.5589 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.979e-05/0.008535, allocations: 4 kB / 0.5589 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.008539, allocations: 4.234 kB / 0.5589 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.008544, allocations: 0 / 0.5589 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.008549, allocations: 3.984 kB / 0.5589 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.008663, allocations: 140.8 kB / 0.5591 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.008667, allocations: 15.88 kB / 0.5591 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.031e-05/0.008688, allocations: 0 / 0.5591 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.00869, allocations: 0 / 0.5591 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.008697, allocations: 0 / 0.5591 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.0087, allocations: 4 kB / 0.5591 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.008701, allocations: 0 / 0.5591 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.008828, allocations: 97 kB / 0.5592 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/0.008848, allocations: 7.891 kB / 0.5592 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.00886, allocations: 0 / 0.5592 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.361e-05/0.008884, allocations: 4 kB / 0.5592 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/0.008909, allocations: 11.98 kB / 0.5592 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.008914, allocations: 0 / 0.5592 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.282e-05/0.008977, allocations: 98.77 kB / 0.5593 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/0.008977, allocations: 0 / 0.5593 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000246/0.009223, allocations: 27.88 kB / 0.5593 GB, free: 13.2 MB / 0.5261 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.0004399/0.009663, allocations: 0.6357 MB / 0.5599 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002633/0.009927, allocations: 153 kB / 0.5601 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.00993, allocations: 0 / 0.5601 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.412e-05/0.009964, allocations: 16.11 kB / 0.5601 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.01022, allocations: 15.98 kB / 0.5601 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.01157, allocations: 1.621 MB / 0.5617 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.324e-05/0.01162, allocations: 71.33 kB / 0.5618 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.433e-05/0.01165, allocations: 4 kB / 0.5618 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.891e-05/0.01169, allocations: 20.48 kB / 0.5618 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of SimCode: time 1.283e-06/0.01169, allocations: 4 kB / 0.5618 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.03087, allocations: 3.138 MB / 0.5649 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.951/6.982, allocations: 17.61 kB / 0.5649 GB, free: 7.5 MB / 0.5261 GB " [Timeout remaining time 653] (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 sys.exit(0), Time elapsed: 9.525730974040926] Failed to read output from testmodel.py, exit status != 0: 7.066861950792372 7.077041338 7.069392879 Calling exit ...