Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.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.001695/0.001695, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002194/0.002194, allocations: 217.2 kB / 23.03 MB, free: 4.949 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9322/0.9322, allocations: 145 MB / 458.2 MB, free: 15.25 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Discrete_Examples_BooleanDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Discrete_Examples_BooleanDelay",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.002278/0.002278, allocations: 66.28 kB / 0.6338 GB, free: 6.703 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1977, allocations: 87.88 MB / 0.7197 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.003358/0.2011, allocations: 1.431 MB / 0.721 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.2022, allocations: 446.8 kB / 0.7215 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.287e-05/0.2022, allocations: 4 kB / 0.7215 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.252e-05/0.2023, allocations: 3.938 kB / 0.7215 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.2024, allocations: 11.92 kB / 0.7215 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.2026, allocations: 19.92 kB / 0.7215 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.2027, allocations: 47.86 kB / 0.7216 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.2028, allocations: 11.97 kB / 0.7216 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.768e-05/0.2029, allocations: 15.94 kB / 0.7216 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.197e-05/0.203, allocations: 23.86 kB / 0.7216 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.203, allocations: 4 kB / 0.7216 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.468e-05/0.203, allocations: 4 kB / 0.7216 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.211e-05/0.2031, allocations: 11.92 kB / 0.7216 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.2031, allocations: 15.94 kB / 0.7216 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.2033, allocations: 51.8 kB / 0.7217 GB, free: 12.74 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2033, allocations: 0 / 0.7217 GB, free: 12.74 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2033, allocations: 0 / 0.7217 GB, free: 12.74 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.898e-06/0.2033, allocations: 4 kB / 0.7217 GB, free: 12.73 MB / 0.545 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.00066/0.2039, allocations: 308 kB / 0.722 GB, free: 12.4 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.204, allocations: 15.97 kB / 0.722 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.494e-05/0.204, allocations: 192 / 0.722 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.139e-05/0.204, allocations: 30.75 kB / 0.722 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.2041, allocations: 16.89 kB / 0.722 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.2042, allocations: 118.5 kB / 0.7222 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.2042, allocations: 4.375 kB / 0.7222 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.2042, allocations: 384 / 0.7222 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.2044, allocations: 87.27 kB / 0.7222 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2044, allocations: 0 / 0.7222 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.2044, allocations: 3.984 kB / 0.7223 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.2044, allocations: 0 / 0.7223 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.295e-05/0.2045, allocations: 49.69 kB / 0.7223 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.2049, allocations: 239.9 kB / 0.7225 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.2051, allocations: 72.2 kB / 0.7226 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.356e-05/0.2051, allocations: 43.31 kB / 0.7226 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.2051, allocations: 0 / 0.7226 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002553/0.2054, allocations: 130.8 kB / 0.7228 GB, free: 11.46 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.2054, allocations: 0 / 0.7228 GB, free: 11.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0003617/0.2058, allocations: 202.6 kB / 0.723 GB, free: 11.24 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.2058, allocations: 85.09 kB / 0.723 GB, free: 11.14 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.2059, allocations: 113.8 kB / 0.7231 GB, free: 11.02 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.206, allocations: 25.7 kB / 0.7232 GB, free: 10.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.888e-05/0.206, allocations: 84.14 kB / 0.7233 GB, free: 10.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.206, allocations: 19.92 kB / 0.7233 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.2061, allocations: 37.7 kB / 0.7233 GB, free: 10.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.2063, allocations: 318.8 kB / 0.7236 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.536e-05/0.2064, allocations: 45.69 kB / 0.7237 GB, free: 10.46 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.2065, allocations: 68.2 kB / 0.7237 GB, free: 10.38 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.2067, allocations: 110 kB / 0.7238 GB, free: 10.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2067, allocations: 0 / 0.7238 GB, free: 10.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002055/0.2069, allocations: 153.4 kB / 0.724 GB, free: 10.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/0.2069, allocations: 33.7 kB / 0.724 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2069, allocations: 4.062 kB / 0.724 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.2069, allocations: 3.938 kB / 0.724 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.711e-05/0.207, allocations: 11.92 kB / 0.724 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.207, allocations: 3.984 kB / 0.724 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.177e-05/0.2071, allocations: 11.89 kB / 0.724 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.2071, allocations: 4 kB / 0.724 GB, free: 10.01 MB / 0.545 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 0.0001345/0.2072, allocations: 153 kB / 0.7242 GB, free: 9.844 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.2072, allocations: 8 kB / 0.7242 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.161e-05/0.2073, allocations: 4.375 kB / 0.7242 GB, free: 9.824 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2073, allocations: 8 kB / 0.7242 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2073, allocations: 0 / 0.7242 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.2073, allocations: 0 / 0.7242 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004665/0.2077, allocations: 404.9 kB / 0.7246 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.2077, allocations: 384 / 0.7246 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.286e-05/0.2078, allocations: 4 kB / 0.7246 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.2078, allocations: 0 / 0.7246 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.2078, allocations: 4.062 kB / 0.7246 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.2078, allocations: 7.922 kB / 0.7246 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2078, allocations: 7.875 kB / 0.7246 GB, free: 9.336 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.208, allocations: 254.9 kB / 0.7249 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.2081, allocations: 11.95 kB / 0.7249 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.2081, allocations: 0 / 0.7249 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.2082, allocations: 11.98 kB / 0.7249 GB, free: 9.035 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.2082, allocations: 11.92 kB / 0.7249 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.2083, allocations: 4 kB / 0.7249 GB, free: 9.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.416e-05/0.2083, allocations: 87.28 kB / 0.725 GB, free: 8.934 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2083, allocations: 3.938 kB / 0.725 GB, free: 8.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002419/0.2086, allocations: 15.98 kB / 0.725 GB, free: 8.914 MB / 0.545 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.0006246/0.2092, allocations: 0.79 MB / 0.7258 GB, free: 8.086 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002731/0.2095, allocations: 170.7 kB / 0.7259 GB, free: 7.895 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2095, allocations: 0 / 0.7259 GB, free: 7.895 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.2096, allocations: 113 kB / 0.726 GB, free: 7.766 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.2099, allocations: 25.78 kB / 0.7261 GB, free: 7.742 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.2115, allocations: 1.564 MB / 0.7276 GB, free: 6.047 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.322e-05/0.2115, allocations: 67.34 kB / 0.7277 GB, free: 5.961 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.881e-05/0.2116, allocations: 16.05 kB / 0.7277 GB, free: 5.945 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.643e-05/0.2116, allocations: 23.38 kB / 0.7277 GB, free: 5.926 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.2116, allocations: 0 / 0.7277 GB, free: 5.926 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.2413, allocations: 2.156 MB / 0.7298 GB, free: 3.949 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.57, allocations: 6.234 kB / 0.7298 GB, free: 3.945 MB / 0.545 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Discrete_Examples_BooleanDelay.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.355449419934303] Failed to read output from testmodel.py, exit status != 0: 11.73024950409308 11.750842387 11.544450415 Calling exit ...