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.0007541/0.0007541, allocations: 72.5 kB / 19.92 MB, free: 4.633 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.000792/0.000792, 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.8974/0.8974, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.5513/0.5513, 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 2.354e-06/2.354e-06, allocations: 0 / 0.5542 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.185e-05, allocations: 4.797 kB / 0.5542 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001771/0.001793, allocations: 0.655 MB / 0.5548 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.003125, allocations: 1.081 MB / 0.5559 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.732e-05/0.003173, allocations: 0 / 0.5559 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.003202, allocations: 3.938 kB / 0.5559 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.335e-05/0.003266, allocations: 3.938 kB / 0.5559 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.00358, allocations: 47.77 kB / 0.5559 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.933e-05/0.003679, allocations: 51.84 kB / 0.556 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.682e-05/0.003776, allocations: 11.92 kB / 0.556 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 8.01e-05/0.003856, allocations: 23.98 kB / 0.556 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.867e-05/0.003905, allocations: 23.95 kB / 0.556 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.003921, allocations: 4 kB / 0.556 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.049e-05/0.003982, allocations: 19.88 kB / 0.556 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.003999, allocations: 7.984 kB / 0.5561 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.019e-05/0.00403, allocations: 19.97 kB / 0.5561 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.004155, allocations: 63.78 kB / 0.5561 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004158, allocations: 4 kB / 0.5561 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.233e-06/0.004159, allocations: 0 / 0.5561 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.004162, allocations: 0 / 0.5561 GB, free: 0.7812 MB / 0.5105 GB 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.0003765/0.004539, allocations: 282.2 kB / 0.5564 GB, free: 484 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.004577, allocations: 12.62 kB / 0.5564 GB, free: 472 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.742e-05/0.004605, allocations: 30.75 kB / 0.5564 GB, free: 432 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.228e-05/0.004667, allocations: 16.88 kB / 0.5565 GB, free: 416 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.927e-05/0.004736, allocations: 109.7 kB / 0.5566 GB, free: 280 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.148e-06/0.004745, allocations: 384 / 0.5566 GB, free: 280 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.004756, allocations: 8.359 kB / 0.5566 GB, free: 272 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.004884, allocations: 70.16 kB / 0.5566 GB, free: 196 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.00489, allocations: 192 / 0.5566 GB, free: 196 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.004898, allocations: 4.375 kB / 0.5566 GB, free: 192 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.004904, allocations: 4.125 kB / 0.5567 GB, free: 188 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.478e-05/0.004999, allocations: 43.91 kB / 0.5567 GB, free: 144 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.005352, allocations: 243.9 kB / 0.5569 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.005465, allocations: 58.48 kB / 0.557 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.122e-05/0.005516, allocations: 28.97 kB / 0.557 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.005537, allocations: 7.922 kB / 0.557 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001169/0.005654, allocations: 67.39 kB / 0.5571 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.005655, allocations: 0 / 0.5571 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0002645/0.005919, allocations: 125.5 kB / 0.5572 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.005957, allocations: 59.34 kB / 0.5573 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.227e-05/0.006019, allocations: 109.8 kB / 0.5574 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.006032, allocations: 29.7 kB / 0.5574 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.006068, allocations: 80.14 kB / 0.5575 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.006086, allocations: 27.83 kB / 0.5575 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.006119, allocations: 21.72 kB / 0.5575 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.697e-05/0.006196, allocations: 318.8 kB / 0.5578 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.209e-05/0.006249, allocations: 23.98 kB / 0.5578 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.474e-05/0.006313, allocations: 56.27 kB / 0.5579 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.006438, allocations: 92.19 kB / 0.558 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.00644, allocations: 0 / 0.558 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001502/0.00659, allocations: 121.5 kB / 0.5581 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.006603, allocations: 7.984 kB / 0.5581 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.006608, allocations: 0 / 0.5581 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.006621, allocations: 4 kB / 0.5581 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.08e-05/0.006692, allocations: 16.23 kB / 0.5581 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.006698, allocations: 3.938 kB / 0.5581 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.376e-05/0.006732, allocations: 8 kB / 0.5581 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.00674, allocations: 4 kB / 0.5581 GB, free: 14.5 MB / 0.5261 GB 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.053e-05/0.006801, allocations: 121.9 kB / 0.5583 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-06/0.00681, allocations: 11.89 kB / 0.5583 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001549/0.006965, allocations: 98.08 kB / 0.5584 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.006968, allocations: 4 kB / 0.5584 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.006972, allocations: 0 / 0.5584 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.006975, allocations: 0 / 0.5584 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.007232, allocations: 317.5 kB / 0.5587 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.007233, allocations: 0 / 0.5587 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.514e-05/0.007258, allocations: 12 kB / 0.5587 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.00726, allocations: 3.938 kB / 0.5587 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.007268, allocations: 3.984 kB / 0.5587 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.007269, allocations: 4 kB / 0.5587 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.00727, allocations: 0 / 0.5587 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.007425, allocations: 195.3 kB / 0.5589 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-06/0.007432, allocations: 4 kB / 0.5589 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.007446, allocations: 3.984 kB / 0.5589 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.852e-05/0.007485, allocations: 8.188 kB / 0.5589 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.007518, allocations: 7.984 kB / 0.5589 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.007523, allocations: 7.938 kB / 0.5589 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.909e-05/0.007552, allocations: 83.58 kB / 0.559 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.007552, allocations: 0 / 0.559 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001687/0.007721, allocations: 23.92 kB / 0.559 GB, free: 13.53 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: 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.0003663/0.008087, allocations: 0.7399 MB / 0.5597 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.008239, allocations: 67.89 kB / 0.5598 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.008241, allocations: 0 / 0.5598 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.02e-05/0.008301, allocations: 31.97 kB / 0.5598 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.008481, allocations: 6.031 kB / 0.5598 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.009497, allocations: 1.413 MB / 0.5612 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.687e-05/0.009544, allocations: 67.34 kB / 0.5613 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.534e-05/0.009569, allocations: 4 kB / 0.5613 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.009605, allocations: 16.48 kB / 0.5613 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of SimCode: time 4.91e-07/0.009606, allocations: 0 / 0.5613 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01434/0.02395, allocations: 2.465 MB / 0.5637 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.645/6.669, allocations: 15.86 kB / 0.5637 GB, free: 8.707 MB / 0.5261 GB " [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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_UnitDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.068184631876647] Failed to read output from testmodel.py, exit status != 0: 6.75155939348042 6.759466837 6.753631907 Calling exit ...