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.001309/0.001309, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001539/0.001539, allocations: 222.5 kB / 22.25 MB, free: 5.109 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.82 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.982/0.982, allocations: 145 MB / 457.4 MB, free: 15.31 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="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.003421/0.003421, allocations: 70.14 kB / 0.6331 GB, free: 6.816 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2375, allocations: 87.88 MB / 0.7189 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.00423/0.2417, allocations: 1.444 MB / 0.7203 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.2428, allocations: 446.9 kB / 0.7207 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.75e-05/0.2429, allocations: 0 / 0.7207 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.403e-05/0.2429, allocations: 7.922 kB / 0.7207 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.2431, allocations: 7.922 kB / 0.7207 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.2433, allocations: 19.92 kB / 0.7207 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000151/0.2434, allocations: 47.84 kB / 0.7208 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.2435, allocations: 8 kB / 0.7208 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.75e-05/0.2436, allocations: 23.86 kB / 0.7208 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.097e-05/0.2437, allocations: 27.91 kB / 0.7208 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.2438, allocations: 4 kB / 0.7209 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.308e-05/0.2438, allocations: 0 / 0.7209 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.91e-05/0.2438, allocations: 11.94 kB / 0.7209 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.348e-05/0.2439, allocations: 19.92 kB / 0.7209 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.244, allocations: 43.81 kB / 0.7209 GB, free: 12.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.244, allocations: 0 / 0.7209 GB, free: 12.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.935e-06/0.244, allocations: 0 / 0.7209 GB, free: 12.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.244, allocations: 0 / 0.7209 GB, free: 12.84 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.0007884/0.2448, allocations: 318.2 kB / 0.7212 GB, free: 12.49 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.2449, allocations: 8.031 kB / 0.7212 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.707e-05/0.2449, allocations: 34.69 kB / 0.7213 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.245, allocations: 12.88 kB / 0.7213 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.2451, allocations: 118.4 kB / 0.7214 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.2451, allocations: 4.375 kB / 0.7214 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.2451, allocations: 384 / 0.7214 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.2453, allocations: 83.5 kB / 0.7215 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.2453, allocations: 4 kB / 0.7215 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.2453, allocations: 0 / 0.7215 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2453, allocations: 0 / 0.7215 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.455e-05/0.2454, allocations: 49.7 kB / 0.7215 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.2459, allocations: 235.9 kB / 0.7218 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.246, allocations: 72.14 kB / 0.7218 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.049e-05/0.2461, allocations: 46.67 kB / 0.7219 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.2461, allocations: 0 / 0.7219 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003095/0.2464, allocations: 131.5 kB / 0.722 GB, free: 11.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.2464, allocations: 0 / 0.722 GB, free: 11.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0004146/0.2468, allocations: 202.7 kB / 0.7222 GB, free: 11.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.898e-05/0.2469, allocations: 81.11 kB / 0.7223 GB, free: 11.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.247, allocations: 117.8 kB / 0.7224 GB, free: 11.12 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.2471, allocations: 25.7 kB / 0.7224 GB, free: 11.09 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.2471, allocations: 84.14 kB / 0.7225 GB, free: 11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.2472, allocations: 23.84 kB / 0.7225 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.2472, allocations: 25.7 kB / 0.7225 GB, free: 10.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002439/0.2475, allocations: 322.8 kB / 0.7228 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-05/0.2475, allocations: 45.62 kB / 0.7229 GB, free: 10.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.621e-05/0.2476, allocations: 68.27 kB / 0.7229 GB, free: 10.49 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.2477, allocations: 118 kB / 0.7231 GB, free: 10.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2477, allocations: 4 kB / 0.7231 GB, free: 10.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002015/0.2479, allocations: 149 kB / 0.7232 GB, free: 10.19 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/0.248, allocations: 33.69 kB / 0.7232 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.248, allocations: 7.938 kB / 0.7232 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.248, allocations: 0 / 0.7232 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.806e-05/0.248, allocations: 4 kB / 0.7232 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2481, allocations: 3.938 kB / 0.7232 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.03e-05/0.2481, allocations: 11.89 kB / 0.7233 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.2481, allocations: 4 kB / 0.7233 GB, free: 10.12 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.0001342/0.2483, allocations: 160.3 kB / 0.7234 GB, free: 9.945 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.2483, allocations: 4 kB / 0.7234 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.2483, allocations: 4.375 kB / 0.7234 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.2483, allocations: 4 kB / 0.7234 GB, free: 9.926 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2483, allocations: 384 / 0.7234 GB, free: 9.926 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.2483, allocations: 3.984 kB / 0.7234 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004748/0.2488, allocations: 408.8 kB / 0.7238 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2488, allocations: 0 / 0.7238 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.28e-05/0.2488, allocations: 7.922 kB / 0.7238 GB, free: 9.453 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2488, allocations: 4 kB / 0.7238 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.2488, allocations: 4 kB / 0.7238 GB, free: 9.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.2488, allocations: 480 / 0.7238 GB, free: 9.445 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.2488, allocations: 3.938 kB / 0.7238 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.2491, allocations: 254.9 kB / 0.7241 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.446e-05/0.2491, allocations: 3.953 kB / 0.7241 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.2491, allocations: 4 kB / 0.7241 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.2493, allocations: 11.98 kB / 0.7241 GB, free: 9.145 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.2493, allocations: 15.86 kB / 0.7241 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.2493, allocations: 4 kB / 0.7241 GB, free: 9.125 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.321e-05/0.2494, allocations: 91.33 kB / 0.7242 GB, free: 9.035 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2494, allocations: 8 kB / 0.7242 GB, free: 9.027 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002503/0.2496, allocations: 16 kB / 0.7242 GB, free: 9.012 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.0006142/0.2503, allocations: 0.7938 MB / 0.725 GB, free: 8.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.2505, allocations: 170.7 kB / 0.7252 GB, free: 7.988 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2505, allocations: 0 / 0.7252 GB, free: 7.988 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.2506, allocations: 109.1 kB / 0.7253 GB, free: 7.863 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.2509, allocations: 19.98 kB / 0.7253 GB, free: 7.844 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.2526, allocations: 1.581 MB / 0.7268 GB, free: 6.133 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.823e-05/0.2527, allocations: 71.33 kB / 0.7269 GB, free: 6.043 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.44e-05/0.2527, allocations: 4 kB / 0.7269 GB, free: 6.039 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.2528, allocations: 15.44 kB / 0.7269 GB, free: 6.027 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.2528, allocations: 0 / 0.7269 GB, free: 6.027 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03027/0.283, allocations: 2.5 MB / 0.7294 GB, free: 3.688 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.38, allocations: 10.41 kB / 0.7294 GB, free: 3.68 MB / 0.545 GB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 15.144469528924674] Failed to read output from testmodel.py, exit status != 0: 11.486566822044551 11.512227489 11.262901393 Calling exit ...