Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.001291/0.001291, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.00153/0.00153, allocations: 206.9 kB / 22.99 MB, free: 4.605 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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.9778/0.9778, allocations: 149.9 MB / 463.1 MB, free: 10.33 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.Discrete.Validation.TriggeredSampler,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",fmuType="me",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.002157/0.002157, allocations: 62.97 kB / 0.6411 GB, free: 10.17 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1599, allocations: 89.18 MB / 0.7282 GB, free: 1.055 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.00202/0.1619, allocations: 0.7113 MB / 0.7288 GB, free: 352 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.1636, allocations: 1.182 MB / 0.73 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.942e-05/0.1636, allocations: 0 / 0.73 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.829e-05/0.1637, allocations: 11.86 kB / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.565e-05/0.1638, allocations: 11.94 kB / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005422/0.1643, allocations: 147.2 kB / 0.7302 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.1645, allocations: 123.8 kB / 0.7303 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.52e-05/0.1646, allocations: 12.17 kB / 0.7303 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.1647, allocations: 55.89 kB / 0.7303 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.1648, allocations: 43.81 kB / 0.7304 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.239e-05/0.1648, allocations: 12 kB / 0.7304 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.756e-05/0.1649, allocations: 27.98 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.165, allocations: 15.98 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.579e-05/0.165, allocations: 43.84 kB / 0.7305 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.1652, allocations: 119.9 kB / 0.7306 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1652, allocations: 3.938 kB / 0.7306 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.492e-06/0.1652, allocations: 0 / 0.7306 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.1652, allocations: 0 / 0.7306 GB, free: 14.53 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006001/0.1658, allocations: 351.7 kB / 0.7309 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.1659, allocations: 12.03 kB / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.149e-05/0.1659, allocations: 34.75 kB / 0.731 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.247e-05/0.166, allocations: 12.89 kB / 0.731 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.1661, allocations: 130.3 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.1662, allocations: 8.359 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.1662, allocations: 12.38 kB / 0.7311 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.1664, allocations: 77.84 kB / 0.7312 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1664, allocations: 0 / 0.7312 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.1664, allocations: 4 kB / 0.7312 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1664, allocations: 4 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.1666, allocations: 43.95 kB / 0.7313 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000505/0.1671, allocations: 295.8 kB / 0.7315 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.1673, allocations: 54.55 kB / 0.7316 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.1674, allocations: 32.95 kB / 0.7316 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.1674, allocations: 4 kB / 0.7316 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/0.1677, allocations: 83.36 kB / 0.7317 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.1677, allocations: 96 / 0.7317 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004562/0.1681, allocations: 157.7 kB / 0.7319 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.1682, allocations: 59.39 kB / 0.7319 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.1683, allocations: 115.2 kB / 0.732 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.1683, allocations: 33.7 kB / 0.7321 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.912e-05/0.1684, allocations: 96.08 kB / 0.7322 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.1684, allocations: 23.8 kB / 0.7322 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.652e-05/0.1685, allocations: 37.7 kB / 0.7322 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1686, allocations: 322.8 kB / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.1688, allocations: 81.66 kB / 0.7326 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.169, allocations: 126.8 kB / 0.7327 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.1693, allocations: 142.8 kB / 0.7329 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1693, allocations: 4 kB / 0.7329 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000522/0.1698, allocations: 248.8 kB / 0.7331 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.036e-05/0.1699, allocations: 38.27 kB / 0.7331 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1699, allocations: 0 / 0.7331 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1699, allocations: 4 kB / 0.7331 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.17, allocations: 15.98 kB / 0.7331 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.17, allocations: 12.16 kB / 0.7332 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.1702, allocations: 35.95 kB / 0.7332 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.1703, allocations: 11.94 kB / 0.7332 GB, free: 11.59 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001112/0.1704, allocations: 125.8 kB / 0.7333 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.1704, allocations: 3.953 kB / 0.7333 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003131/0.1707, allocations: 125.9 kB / 0.7334 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1707, allocations: 4 kB / 0.7335 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1707, allocations: 4 kB / 0.7335 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1707, allocations: 3.984 kB / 0.7335 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000458/0.1712, allocations: 341.5 kB / 0.7338 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1712, allocations: 0 / 0.7338 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.672e-05/0.1712, allocations: 16 kB / 0.7338 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1712, allocations: 3.984 kB / 0.7338 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.1712, allocations: 3.938 kB / 0.7338 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1712, allocations: 3.938 kB / 0.7338 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1713, allocations: 8 kB / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.1716, allocations: 211.4 kB / 0.734 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.169e-05/0.1716, allocations: 7.953 kB / 0.734 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.1716, allocations: 0 / 0.734 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.283e-05/0.1717, allocations: 15.92 kB / 0.734 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.1717, allocations: 7.984 kB / 0.7341 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.1717, allocations: 4 kB / 0.7341 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.23e-05/0.1718, allocations: 91.27 kB / 0.7341 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1718, allocations: 4 kB / 0.7341 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002689/0.1721, allocations: 24 kB / 0.7342 GB, free: 10.52 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: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006657/0.1727, allocations: 0.7514 MB / 0.7349 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004017/0.1731, allocations: 189 kB / 0.7351 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.1731, allocations: 4.312 kB / 0.7351 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.1733, allocations: 43.91 kB / 0.7351 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.1736, allocations: 16.8 kB / 0.7351 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.1759, allocations: 1.835 MB / 0.7369 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.322e-05/0.176, allocations: 83.25 kB / 0.737 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.21e-05/0.176, allocations: 4.141 kB / 0.737 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.1761, allocations: 23.42 kB / 0.737 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/0.1761, allocations: 0 / 0.737 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03047/0.2065, allocations: 3.232 MB / 0.7402 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.29, allocations: 8 kB / 0.7402 GB, free: 4.293 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.06380421994254] Failed to read output from testmodel.py, exit status != 0: 11.39531519683078 11.421340254 11.251203477 Calling exit ...