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.001248/0.001248, allocations: 113.7 kB / 19.73 MB, free: 2.227 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.001466/0.001466, allocations: 221.5 kB / 23.04 MB, free: 5.062 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.9207/0.9207, allocations: 145 MB / 458.2 MB, free: 15.51 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.002674/0.002674, allocations: 62.44 kB / 0.6339 GB, free: 7.344 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1844, allocations: 87.89 MB / 0.7197 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002976/0.1874, allocations: 1.459 MB / 0.7211 GB, free: 14.01 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008611/0.1882, allocations: 482.8 kB / 0.7216 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.62e-05/0.1883, allocations: 0 / 0.7216 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.093e-05/0.1883, allocations: 7.938 kB / 0.7216 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.85e-05/0.1884, allocations: 11.88 kB / 0.7216 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000147/0.1885, allocations: 19.97 kB / 0.7216 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.1886, allocations: 47.84 kB / 0.7217 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.91e-05/0.1887, allocations: 12 kB / 0.7217 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.541e-05/0.1888, allocations: 23.86 kB / 0.7217 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.754e-05/0.1889, allocations: 15.92 kB / 0.7217 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.1889, allocations: 4 kB / 0.7217 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.1889, allocations: 4 kB / 0.7217 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.1889, allocations: 7.938 kB / 0.7218 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.067e-05/0.189, allocations: 27.91 kB / 0.7218 GB, free: 13.35 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.1891, allocations: 43.77 kB / 0.7218 GB, free: 13.31 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1891, allocations: 0 / 0.7218 GB, free: 13.31 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1891, allocations: 0 / 0.7218 GB, free: 13.31 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.1891, allocations: 0 / 0.7218 GB, free: 13.31 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.0006318/0.1897, allocations: 316 kB / 0.7221 GB, free: 12.96 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1898, allocations: 8.031 kB / 0.7221 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.56e-05/0.1898, allocations: 4.188 kB / 0.7221 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.379e-05/0.1898, allocations: 38.67 kB / 0.7222 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.1898, allocations: 8.891 kB / 0.7222 GB, free: 12.9 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.19, allocations: 118.5 kB / 0.7223 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.19, allocations: 4.375 kB / 0.7223 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.19, allocations: 4.375 kB / 0.7223 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.1901, allocations: 57.61 kB / 0.7224 GB, free: 12.69 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1901, allocations: 0 / 0.7224 GB, free: 12.69 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.1902, allocations: 0 / 0.7224 GB, free: 12.69 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1902, allocations: 0 / 0.7224 GB, free: 12.69 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.895e-05/0.1902, allocations: 23.92 kB / 0.7224 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.1906, allocations: 243.9 kB / 0.7226 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.1907, allocations: 34.58 kB / 0.7226 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.142e-05/0.1908, allocations: 21.64 kB / 0.7227 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.1908, allocations: 0 / 0.7227 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002305/0.191, allocations: 105 kB / 0.7228 GB, free: 12.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.173e-06/0.191, allocations: 0 / 0.7228 GB, free: 12.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0003147/0.1913, allocations: 147.3 kB / 0.7229 GB, free: 12.04 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/0.1914, allocations: 85.03 kB / 0.723 GB, free: 11.94 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.1915, allocations: 117.8 kB / 0.7231 GB, free: 11.81 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.1915, allocations: 25.7 kB / 0.7231 GB, free: 11.78 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.1916, allocations: 88.14 kB / 0.7232 GB, free: 11.69 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.1916, allocations: 19.86 kB / 0.7232 GB, free: 11.67 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.1917, allocations: 25.7 kB / 0.7233 GB, free: 11.64 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.1918, allocations: 318.8 kB / 0.7236 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.485e-05/0.1918, allocations: 15.98 kB / 0.7236 GB, free: 11.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.502e-05/0.1919, allocations: 42.56 kB / 0.7236 GB, free: 11.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.192, allocations: 109.9 kB / 0.7237 GB, free: 11.12 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.192, allocations: 0 / 0.7237 GB, free: 11.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001697/0.1922, allocations: 123.3 kB / 0.7238 GB, free: 10.99 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.1922, allocations: 33.69 kB / 0.7239 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1922, allocations: 0 / 0.7239 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1923, allocations: 8.062 kB / 0.7239 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.104e-05/0.1923, allocations: 0 / 0.7239 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1923, allocations: 4 kB / 0.7239 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.91e-05/0.1924, allocations: 15.94 kB / 0.7239 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.1924, allocations: 4 kB / 0.7239 GB, free: 10.92 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.0001207/0.1925, allocations: 155.4 kB / 0.724 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.1925, allocations: 4 kB / 0.7241 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/0.1926, allocations: 12.36 kB / 0.7241 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1926, allocations: 4 kB / 0.7241 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.1926, allocations: 0 / 0.7241 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1926, allocations: 3.984 kB / 0.7241 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004584/0.193, allocations: 371.6 kB / 0.7244 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.193, allocations: 8 kB / 0.7244 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.864e-06/0.193, allocations: 0 / 0.7244 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.193, allocations: 3.938 kB / 0.7244 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.193, allocations: 0 / 0.7244 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.193, allocations: 4 kB / 0.7244 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.1931, allocations: 7.875 kB / 0.7244 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.1933, allocations: 241.2 kB / 0.7247 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.432e-05/0.1933, allocations: 7.938 kB / 0.7247 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.1934, allocations: 4 kB / 0.7247 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.1935, allocations: 4 kB / 0.7247 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.1935, allocations: 15.92 kB / 0.7247 GB, free: 9.996 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.1935, allocations: 4 kB / 0.7247 GB, free: 9.992 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.098e-05/0.1936, allocations: 87.81 kB / 0.7248 GB, free: 9.906 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1936, allocations: 4 kB / 0.7248 GB, free: 9.902 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002282/0.1938, allocations: 16 kB / 0.7248 GB, free: 9.887 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.0005629/0.1944, allocations: 0.7573 MB / 0.7256 GB, free: 9.098 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001953/0.1946, allocations: 111.3 kB / 0.7257 GB, free: 8.977 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1946, allocations: 8.125 kB / 0.7257 GB, free: 8.969 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.644e-05/0.1947, allocations: 79.45 kB / 0.7257 GB, free: 8.879 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.195, allocations: 25.84 kB / 0.7258 GB, free: 8.855 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.1965, allocations: 1.426 MB / 0.7272 GB, free: 7.328 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.1968, allocations: 0.6851 MB / 0.7278 GB, free: 6.617 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.079e-05/0.1969, allocations: 4 kB / 0.7278 GB, free: 6.613 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.01e-05/0.1969, allocations: 19.42 kB / 0.7279 GB, free: 6.594 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.1969, allocations: 0 / 0.7279 GB, free: 6.594 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.2191, allocations: 2.074 MB / 0.7299 GB, free: 4.676 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.24, allocations: 17.72 kB / 0.7299 GB, free: 4.664 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 os._exit(0), Time elapsed: 14.991695656965021] Failed to read output from testmodel.py, exit status != 0: 11.395747311005834 11.411595647 11.219330101 Calling exit ...