Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 117.7 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 192.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8878/0.8878, allocations: 129.2 MB / 432.5 MB, free: 13.16 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 67.89 kB / 0.5987 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3703, allocations: 83.44 MB / 0.6801 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.00217/0.3724, allocations: 1.415 MB / 0.6815 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005756/0.373, allocations: 444.7 kB / 0.6819 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.941e-05/0.3731, allocations: 0 / 0.6819 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.282e-05/0.3731, allocations: 5.125 kB / 0.682 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.365e-05/0.3731, allocations: 17.03 kB / 0.682 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.3733, allocations: 15.42 kB / 0.682 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.554e-05/0.3734, allocations: 43.98 kB / 0.682 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.744e-05/0.3735, allocations: 15.55 kB / 0.682 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.096e-05/0.3735, allocations: 19.75 kB / 0.6821 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.569e-05/0.3736, allocations: 21.19 kB / 0.6821 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.3736, allocations: 3.281 kB / 0.6821 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.048e-05/0.3736, allocations: 4.5 kB / 0.6821 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.3736, allocations: 16.98 kB / 0.6821 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.538e-05/0.3736, allocations: 22.83 kB / 0.6821 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.219e-05/0.3737, allocations: 39.58 kB / 0.6822 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3737, allocations: 0 / 0.6822 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.644e-06/0.3737, allocations: 0 / 0.6822 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.3737, allocations: 5.25 kB / 0.6822 GB, free: 4.367 MB / 0.4981 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.0004697/0.3742, allocations: 401 kB / 0.6826 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.3742, allocations: 10.09 kB / 0.6826 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.462e-05/0.3743, allocations: 35.72 kB / 0.6826 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.548e-05/0.3743, allocations: 3.969 kB / 0.6826 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.928e-05/0.3744, allocations: 179.2 kB / 0.6828 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.3744, allocations: 2.656 kB / 0.6828 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.3744, allocations: 11.06 kB / 0.6828 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.54e-05/0.3745, allocations: 50.25 kB / 0.6828 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3745, allocations: 0 / 0.6828 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.3745, allocations: 0 / 0.6828 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3745, allocations: 0.875 kB / 0.6828 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.013e-05/0.3746, allocations: 22.42 kB / 0.6829 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.3748, allocations: 268.4 kB / 0.6831 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.846e-05/0.3749, allocations: 42.94 kB / 0.6831 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.954e-05/0.3749, allocations: 16.05 kB / 0.6832 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.375, allocations: 5.391 kB / 0.6832 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.3751, allocations: 102.3 kB / 0.6833 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.3751, allocations: 0 / 0.6833 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002366/0.3754, allocations: 145.1 kB / 0.6834 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.3754, allocations: 79.23 kB / 0.6835 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.31e-05/0.3754, allocations: 116.2 kB / 0.6836 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.3754, allocations: 31.02 kB / 0.6836 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.305e-05/0.3755, allocations: 89.42 kB / 0.6837 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.3755, allocations: 15.78 kB / 0.6837 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.3755, allocations: 29.53 kB / 0.6837 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.511e-05/0.3756, allocations: 321.9 kB / 0.6841 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.979e-05/0.3756, allocations: 11.91 kB / 0.6841 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.211e-05/0.3756, allocations: 46.97 kB / 0.6841 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.212e-05/0.3757, allocations: 112.4 kB / 0.6842 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3757, allocations: 0 / 0.6842 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001259/0.3758, allocations: 129.3 kB / 0.6843 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.3758, allocations: 34.39 kB / 0.6844 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.3759, allocations: 1.422 kB / 0.6844 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3759, allocations: 5.328 kB / 0.6844 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.77e-05/0.3759, allocations: 7.219 kB / 0.6844 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3759, allocations: 1.062 kB / 0.6844 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.954e-05/0.376, allocations: 4.438 kB / 0.6844 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.376, allocations: 3.406 kB / 0.6844 GB, free: 2.094 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$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): 8 * 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 6.259e-05/0.376, allocations: 164.6 kB / 0.6846 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.3761, allocations: 7.203 kB / 0.6846 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.219e-05/0.3761, allocations: 5.5 kB / 0.6846 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3761, allocations: 1.156 kB / 0.6846 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3761, allocations: 5.156 kB / 0.6846 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3761, allocations: 0 / 0.6846 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002785/0.3764, allocations: 412.2 kB / 0.685 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3764, allocations: 0 / 0.685 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.085e-06/0.3764, allocations: 1.031 kB / 0.685 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3764, allocations: 1.531 kB / 0.685 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-06/0.3764, allocations: 1.25 kB / 0.685 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3764, allocations: 0 / 0.685 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3764, allocations: 5.156 kB / 0.685 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.3765, allocations: 233 kB / 0.6852 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.825e-05/0.3766, allocations: 78.48 kB / 0.6853 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.3766, allocations: 10.27 kB / 0.6853 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.573e-05/0.3767, allocations: 9.25 kB / 0.6853 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.3767, allocations: 15.28 kB / 0.6853 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.3767, allocations: 4 kB / 0.6853 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.681e-05/0.3767, allocations: 93.45 kB / 0.6854 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3767, allocations: 4 kB / 0.6854 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002275/0.377, allocations: 18.22 kB / 0.6854 GB, free: 1.098 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0002897/0.3773, allocations: 0.7577 MB / 0.6862 GB, free: 384 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001444/0.3774, allocations: 117.1 kB / 0.6863 GB, free: 288 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.3774, allocations: 128 / 0.6863 GB, free: 288 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.864e-05/0.3775, allocations: 88.66 kB / 0.6864 GB, free: 204 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.3777, allocations: 15.67 kB / 0.6864 GB, free: 196 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.379, allocations: 1.418 MB / 0.6878 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.3793, allocations: 0.6916 MB / 0.6884 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.779e-05/0.3793, allocations: 6.781 kB / 0.6884 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.3794, allocations: 14.91 kB / 0.6885 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of SimCode: time 3.7e-07/0.3794, allocations: 0 / 0.6885 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/0.4025, allocations: 1.892 MB / 0.6903 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.716/8.119, allocations: 1.25 kB / 0.6903 GB, free: 13.09 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay.fmu > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.424823831766844] Failed to read output from testmodel.py, exit status != 0: 8.18709191819653 8.210337829 7.832357742 Calling exit ...