Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.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.001225/0.001225, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.001464/0.001464, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9119/0.9119, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.5529/0.5529, allocations: 114 MB / 373.9 MB, free: 8.703 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.Discrete.Validation.UnitDelay,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_UnitDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_UnitDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.5542 GB, free: 1.703 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.8e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.699 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.0012/0.001218, allocations: 0.6616 MB / 0.5548 GB, free: 1.043 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.002288, allocations: 1.077 MB / 0.5559 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.953e-05/0.002337, allocations: 3.938 kB / 0.5559 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.002368, allocations: 7.922 kB / 0.5559 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.223e-05/0.00243, allocations: 4 kB / 0.5559 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.002713, allocations: 47.7 kB / 0.5559 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.994e-05/0.002813, allocations: 47.86 kB / 0.556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.618e-05/0.002909, allocations: 7.984 kB / 0.556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.501e-05/0.002984, allocations: 31.91 kB / 0.556 GB, free: 15.8 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.986e-05/0.003024, allocations: 15.98 kB / 0.556 GB, free: 15.79 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.00304, allocations: 4 kB / 0.556 GB, free: 15.79 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.029e-05/0.003101, allocations: 19.98 kB / 0.556 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.003122, allocations: 15.91 kB / 0.5561 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.003151, allocations: 12 kB / 0.5561 GB, free: 15.74 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.003278, allocations: 71.7 kB / 0.5561 GB, free: 15.67 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.00328, allocations: 0 / 0.5561 GB, free: 15.67 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.003281, allocations: 0 / 0.5561 GB, free: 15.67 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.003286, allocations: 0 / 0.5561 GB, free: 15.67 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004393/0.003725, allocations: 286.2 kB / 0.5564 GB, free: 15.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.00377, allocations: 12.62 kB / 0.5564 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.662e-05/0.003807, allocations: 30.75 kB / 0.5564 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.906e-05/0.003886, allocations: 8.891 kB / 0.5565 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.689e-05/0.003973, allocations: 117.7 kB / 0.5566 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.003985, allocations: 4.375 kB / 0.5566 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.003997, allocations: 4.375 kB / 0.5566 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.004142, allocations: 62.23 kB / 0.5566 GB, free: 15.08 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.004151, allocations: 4.125 kB / 0.5566 GB, free: 15.08 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.004161, allocations: 384 / 0.5566 GB, free: 15.08 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.004167, allocations: 4.125 kB / 0.5566 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.004268, allocations: 47.95 kB / 0.5567 GB, free: 15.03 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.004635, allocations: 243.9 kB / 0.5569 GB, free: 14.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.004743, allocations: 50.55 kB / 0.557 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.852e-05/0.004792, allocations: 24.97 kB / 0.557 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.004813, allocations: 15.81 kB / 0.557 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001262/0.004939, allocations: 75.38 kB / 0.5571 GB, free: 14.56 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 9.41e-07/0.00494, allocations: 0 / 0.5571 GB, free: 14.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.000254/0.005194, allocations: 113.6 kB / 0.5572 GB, free: 14.44 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.00523, allocations: 59.41 kB / 0.5572 GB, free: 14.37 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.925e-05/0.00529, allocations: 110 kB / 0.5574 GB, free: 14.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.005301, allocations: 29.64 kB / 0.5574 GB, free: 14.22 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.005337, allocations: 88.14 kB / 0.5575 GB, free: 14.13 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.005355, allocations: 23.91 kB / 0.5575 GB, free: 14.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.005389, allocations: 29.7 kB / 0.5575 GB, free: 14.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.664e-05/0.005466, allocations: 318.8 kB / 0.5578 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.974e-05/0.005515, allocations: 23.98 kB / 0.5578 GB, free: 13.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.251e-05/0.005578, allocations: 56.27 kB / 0.5579 GB, free: 13.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.005697, allocations: 92.19 kB / 0.558 GB, free: 13.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.005699, allocations: 0 / 0.558 GB, free: 13.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001474/0.005847, allocations: 113.4 kB / 0.5581 GB, free: 13.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.005859, allocations: 4 kB / 0.5581 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.005863, allocations: 0 / 0.5581 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.005874, allocations: 4.156 kB / 0.5581 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.005941, allocations: 23.98 kB / 0.5581 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.005947, allocations: 8.047 kB / 0.5581 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.178e-05/0.005979, allocations: 8 kB / 0.5581 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.005985, allocations: 256 / 0.5581 GB, free: 13.39 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (unitDelay1.u_internal,$PRE.unitDelay1.u_internal,unitDelay1.y,$PRE.unitDelay1.y,unitDelay1.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 6.02e-05/0.006046, allocations: 117.8 kB / 0.5583 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-06/0.006054, allocations: 15.88 kB / 0.5583 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001531/0.006207, allocations: 106.1 kB / 0.5584 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.00621, allocations: 7.984 kB / 0.5584 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.006215, allocations: 0 / 0.5584 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.006219, allocations: 0 / 0.5584 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.006492, allocations: 317.5 kB / 0.5587 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.006494, allocations: 0 / 0.5587 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.687e-05/0.006521, allocations: 7.984 kB / 0.5587 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.006523, allocations: 0 / 0.5587 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.006532, allocations: 4.188 kB / 0.5587 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.006533, allocations: 0 / 0.5587 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.006534, allocations: 7.938 kB / 0.5587 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.006698, allocations: 203.3 kB / 0.5589 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-06/0.006706, allocations: 4 kB / 0.5589 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.00672, allocations: 0 / 0.5589 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.797e-05/0.006758, allocations: 7.984 kB / 0.5589 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.0068, allocations: 7.984 kB / 0.5589 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.006806, allocations: 0 / 0.5589 GB, free: 12.52 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.516e-05/0.006841, allocations: 87.28 kB / 0.559 GB, free: 12.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006841, allocations: 0 / 0.559 GB, free: 12.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001774/0.007018, allocations: 19.94 kB / 0.559 GB, free: 12.41 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y,unitDelay1.u_internal) * Number of discrete states: 1 (unitDelay1.u_internal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004079/0.007426, allocations: 0.7318 MB / 0.5597 GB, free: 11.65 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.00759, allocations: 60.14 kB / 0.5598 GB, free: 11.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.007591, allocations: 0 / 0.5598 GB, free: 11.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.806e-05/0.007649, allocations: 36.28 kB / 0.5598 GB, free: 11.56 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.007839, allocations: 12.12 kB / 0.5598 GB, free: 11.55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.008862, allocations: 1.404 MB / 0.5612 GB, free: 10.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.081e-05/0.008913, allocations: 75.34 kB / 0.5613 GB, free: 9.941 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.428e-05/0.008937, allocations: 4 kB / 0.5613 GB, free: 9.938 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.342e-05/0.008971, allocations: 16.5 kB / 0.5613 GB, free: 9.922 MB / 490.7 MB Notification: Performance of SimCode: time 6.71e-07/0.008971, allocations: 0 / 0.5613 GB, free: 9.922 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01416/0.02313, allocations: 2.476 MB / 0.5637 GB, free: 7.605 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.692/6.715, allocations: 15.41 kB / 0.5637 GB, free: 7.594 MB / 490.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_UnitDelay.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.30176256224513] Failed to read output from testmodel.py, exit status != 0: 6.7980854799970984 6.813245409 6.807412072 Calling exit ...