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.001363/0.001363, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.001377/0.001377, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.418/1.418, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.9266/0.9266, allocations: 145 MB / 453.8 MB, free: 1.074 MB / 350.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Discrete_Examples_BooleanDelay",fmuType="me",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.003296/0.003296, allocations: 66.44 kB / 0.628 GB, free: 10.8 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.2027, allocations: 87.83 MB / 0.7138 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002944/0.2057, allocations: 1.439 MB / 0.7152 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009879/0.2066, allocations: 482.8 kB / 0.7156 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.106e-05/0.2067, allocations: 0 / 0.7156 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.15e-05/0.2067, allocations: 7.938 kB / 0.7156 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.745e-05/0.2068, allocations: 11.92 kB / 0.7156 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.207, allocations: 19.92 kB / 0.7157 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.2071, allocations: 47.84 kB / 0.7157 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.666e-05/0.2072, allocations: 4 kB / 0.7157 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.583e-05/0.2073, allocations: 23.92 kB / 0.7157 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.318e-05/0.2073, allocations: 15.92 kB / 0.7157 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.2074, allocations: 7.984 kB / 0.7158 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.2074, allocations: 4 kB / 0.7158 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.474e-05/0.2074, allocations: 11.92 kB / 0.7158 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.2075, allocations: 27.88 kB / 0.7158 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.2076, allocations: 48.03 kB / 0.7158 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2076, allocations: 0 / 0.7158 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2076, allocations: 0 / 0.7158 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.2076, allocations: 0 / 0.7158 GB, free: 0.8242 MB / 0.5294 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.0007059/0.2083, allocations: 398.7 kB / 0.7162 GB, free: 392 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.2083, allocations: 8.031 kB / 0.7162 GB, free: 384 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.824e-05/0.2084, allocations: 30.75 kB / 0.7163 GB, free: 344 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/0.2084, allocations: 12.89 kB / 0.7163 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.2086, allocations: 164.4 kB / 0.7164 GB, free: 128 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.2086, allocations: 4.359 kB / 0.7164 GB, free: 124 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.2086, allocations: 8.375 kB / 0.7164 GB, free: 116 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.2088, allocations: 53.75 kB / 0.7165 GB, free: 56 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2088, allocations: 3.984 kB / 0.7165 GB, free: 52 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.2088, allocations: 0 / 0.7165 GB, free: 52 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.2088, allocations: 4 kB / 0.7165 GB, free: 48 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6e-05/0.2089, allocations: 19.98 kB / 0.7165 GB, free: 28 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005133/0.2094, allocations: 272.8 kB / 0.7168 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.34e-05/0.2095, allocations: 38.56 kB / 0.7168 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.075e-05/0.2095, allocations: 20.92 kB / 0.7168 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.2095, allocations: 0 / 0.7168 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002284/0.2097, allocations: 105.9 kB / 0.7169 GB, free: 15.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.2097, allocations: 4 kB / 0.7169 GB, free: 15.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0003204/0.2101, allocations: 147.3 kB / 0.7171 GB, free: 15.36 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/0.2101, allocations: 81.11 kB / 0.7172 GB, free: 15.26 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.891e-05/0.2102, allocations: 105.8 kB / 0.7173 GB, free: 15.15 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.2103, allocations: 29.7 kB / 0.7173 GB, free: 15.11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.807e-05/0.2103, allocations: 84.14 kB / 0.7174 GB, free: 15.03 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.806e-05/0.2104, allocations: 23.8 kB / 0.7174 GB, free: 15 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.2104, allocations: 29.7 kB / 0.7174 GB, free: 14.97 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2106, allocations: 322.8 kB / 0.7177 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.519e-05/0.2106, allocations: 12 kB / 0.7177 GB, free: 14.63 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.276e-05/0.2107, allocations: 38.56 kB / 0.7178 GB, free: 14.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.2108, allocations: 118.2 kB / 0.7179 GB, free: 14.45 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2108, allocations: 3.984 kB / 0.7179 GB, free: 14.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001867/0.211, allocations: 131.3 kB / 0.718 GB, free: 14.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.662e-05/0.211, allocations: 29.7 kB / 0.718 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.211, allocations: 0 / 0.718 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.211, allocations: 4 kB / 0.718 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.342e-05/0.2111, allocations: 7.938 kB / 0.7181 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2111, allocations: 0 / 0.7181 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.723e-05/0.2111, allocations: 11.94 kB / 0.7181 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.2112, allocations: 4 kB / 0.7181 GB, free: 14.24 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.0001269/0.2113, allocations: 161.1 kB / 0.7182 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.2113, allocations: 4 kB / 0.7182 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.492e-05/0.2113, allocations: 4.375 kB / 0.7182 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2113, allocations: 0 / 0.7182 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.2113, allocations: 0 / 0.7182 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2113, allocations: 4 kB / 0.7182 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004499/0.2118, allocations: 404.5 kB / 0.7186 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2118, allocations: 7.938 kB / 0.7186 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.107e-05/0.2118, allocations: 4.062 kB / 0.7186 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2118, allocations: 0 / 0.7186 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.2118, allocations: 7.984 kB / 0.7186 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2118, allocations: 4 kB / 0.7186 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2118, allocations: 3.938 kB / 0.7186 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.2121, allocations: 225.2 kB / 0.7189 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.432e-05/0.2121, allocations: 81.06 kB / 0.7189 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.2121, allocations: 8 kB / 0.7189 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.2122, allocations: 7.984 kB / 0.719 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.2123, allocations: 15.92 kB / 0.719 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.2123, allocations: 4 kB / 0.719 GB, free: 13.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.652e-05/0.2124, allocations: 83.28 kB / 0.7191 GB, free: 13.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2124, allocations: 0 / 0.7191 GB, free: 13.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002384/0.2126, allocations: 20 kB / 0.7191 GB, free: 13.1 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.0005544/0.2132, allocations: 0.7648 MB / 0.7198 GB, free: 12.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.2134, allocations: 111.3 kB / 0.7199 GB, free: 12.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2134, allocations: 0 / 0.7199 GB, free: 12.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.786e-05/0.2135, allocations: 87.31 kB / 0.72 GB, free: 12.08 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.2138, allocations: 23.91 kB / 0.72 GB, free: 12.06 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.2153, allocations: 1.424 MB / 0.7214 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.2156, allocations: 0.6846 MB / 0.7221 GB, free: 9.824 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.412e-05/0.2157, allocations: 7.984 kB / 0.7221 GB, free: 9.816 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.2157, allocations: 15.44 kB / 0.7221 GB, free: 9.801 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.2157, allocations: 0 / 0.7221 GB, free: 9.801 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02542/0.2411, allocations: 1.907 MB / 0.724 GB, free: 7.996 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.01/8.251, allocations: 10.17 kB / 0.724 GB, free: 7.988 MB / 0.545 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Controls_Discrete_Examples_BooleanDelay.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.821217318996787] Failed to read output from testmodel.py, exit status != 0: 8.318908336994355 8.331179582 8.120762311 Calling exit ...