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.001122/0.001122, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001311/0.001311, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.108/1.108, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.6181/0.6181, allocations: 110.2 MB / 369.4 MB, free: 12.63 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.5472 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.308e-05, allocations: 6.375 kB / 0.5472 GB, free: 9.891 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002053/0.002076, allocations: 1.44 MB / 0.5486 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006666/0.002743, allocations: 450.8 kB / 0.5491 GB, free: 7.992 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.018e-05/0.002783, allocations: 0 / 0.5491 GB, free: 7.992 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.017e-05/0.002813, allocations: 7.938 kB / 0.5491 GB, free: 7.984 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.139e-05/0.002894, allocations: 7.922 kB / 0.5491 GB, free: 7.977 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.003059, allocations: 27.84 kB / 0.5491 GB, free: 7.949 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.003185, allocations: 43.86 kB / 0.5491 GB, free: 7.906 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.074e-05/0.003276, allocations: 7.984 kB / 0.5492 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.427e-05/0.00335, allocations: 27.92 kB / 0.5492 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.013e-05/0.00342, allocations: 15.92 kB / 0.5492 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.003441, allocations: 4 kB / 0.5492 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-06/0.003451, allocations: 4 kB / 0.5492 GB, free: 7.848 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.883e-05/0.003479, allocations: 11.97 kB / 0.5492 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.00352, allocations: 23.88 kB / 0.5492 GB, free: 7.812 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.003645, allocations: 43.92 kB / 0.5493 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.003648, allocations: 0 / 0.5493 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.242e-06/0.003649, allocations: 0 / 0.5493 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.003654, allocations: 0 / 0.5493 GB, free: 7.77 MB / 0.5105 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.0007719/0.004426, allocations: 323.9 kB / 0.5496 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.004467, allocations: 8.625 kB / 0.5496 GB, free: 7.41 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.722e-05/0.004494, allocations: 34.75 kB / 0.5496 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.004524, allocations: 20.81 kB / 0.5496 GB, free: 7.348 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.794e-05/0.004611, allocations: 109.8 kB / 0.5498 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.004624, allocations: 384 / 0.5498 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.004634, allocations: 4.375 kB / 0.5498 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.004751, allocations: 79.94 kB / 0.5498 GB, free: 7.121 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.004759, allocations: 4.125 kB / 0.5498 GB, free: 7.117 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.00477, allocations: 8.062 kB / 0.5498 GB, free: 7.109 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.004775, allocations: 0 / 0.5498 GB, free: 7.109 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.607e-05/0.004831, allocations: 45.7 kB / 0.5499 GB, free: 7.059 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.005177, allocations: 235.9 kB / 0.5501 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.966e-05/0.005256, allocations: 72.27 kB / 0.5502 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.005292, allocations: 46.61 kB / 0.5502 GB, free: 6.645 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.005315, allocations: 4 kB / 0.5502 GB, free: 6.641 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.005493, allocations: 134.8 kB / 0.5504 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.005494, allocations: 0 / 0.5504 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0002481/0.005742, allocations: 202.7 kB / 0.5506 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.005787, allocations: 77.11 kB / 0.5506 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.823e-05/0.005856, allocations: 117.9 kB / 0.5507 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.005866, allocations: 25.7 kB / 0.5508 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.005906, allocations: 88.14 kB / 0.5508 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.005922, allocations: 15.89 kB / 0.5509 GB, free: 5.906 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.005956, allocations: 33.7 kB / 0.5509 GB, free: 5.867 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.902e-05/0.006035, allocations: 310.8 kB / 0.5512 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.674e-05/0.006071, allocations: 53.69 kB / 0.5512 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.299e-05/0.006114, allocations: 64.27 kB / 0.5513 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.865e-05/0.006193, allocations: 117.9 kB / 0.5514 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.006195, allocations: 0 / 0.5514 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001246/0.00632, allocations: 156.9 kB / 0.5516 GB, free: 5.109 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.006348, allocations: 37.69 kB / 0.5516 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.006353, allocations: 4.438 kB / 0.5516 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.006365, allocations: 0 / 0.5516 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.104e-05/0.006406, allocations: 4 kB / 0.5516 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.006411, allocations: 0 / 0.5516 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.309e-05/0.006454, allocations: 15.88 kB / 0.5516 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.006459, allocations: 0 / 0.5516 GB, free: 5.043 MB / 0.5105 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 8.085e-05/0.00654, allocations: 147.5 kB / 0.5518 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.006551, allocations: 11.89 kB / 0.5518 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.288e-05/0.006574, allocations: 12.44 kB / 0.5518 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.006577, allocations: 7.938 kB / 0.5518 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.006581, allocations: 0 / 0.5518 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.006587, allocations: 7.969 kB / 0.5518 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003032/0.006891, allocations: 396.8 kB / 0.5522 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.006892, allocations: 4 kB / 0.5522 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-06/0.006898, allocations: 7.984 kB / 0.5522 GB, free: 4.383 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.0069, allocations: 0 / 0.5522 GB, free: 4.383 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.006909, allocations: 0 / 0.5522 GB, free: 4.383 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.00691, allocations: 4 kB / 0.5522 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.006911, allocations: 0 / 0.5522 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.007058, allocations: 258.8 kB / 0.5524 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.007068, allocations: 11.95 kB / 0.5525 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.007081, allocations: 0 / 0.5525 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.245e-05/0.007144, allocations: 11.98 kB / 0.5525 GB, free: 4.074 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.007196, allocations: 7.984 kB / 0.5525 GB, free: 4.066 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.007208, allocations: 4 kB / 0.5525 GB, free: 4.062 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.493e-05/0.007243, allocations: 91.27 kB / 0.5526 GB, free: 3.973 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007243, allocations: 0 / 0.5526 GB, free: 3.973 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001544/0.007397, allocations: 12 kB / 0.5526 GB, free: 3.961 MB / 0.5105 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.0003485/0.007746, allocations: 0.8054 MB / 0.5534 GB, free: 3.117 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001593/0.007905, allocations: 178.8 kB / 0.5535 GB, free: 2.918 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.007907, allocations: 0 / 0.5535 GB, free: 2.918 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.662e-05/0.007973, allocations: 113 kB / 0.5536 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.008195, allocations: 15.02 kB / 0.5537 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.00922, allocations: 1.571 MB / 0.5552 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.071e-05/0.009271, allocations: 71.34 kB / 0.5553 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.966e-05/0.0093, allocations: 15.77 kB / 0.5553 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.436e-05/0.009345, allocations: 20.48 kB / 0.5553 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of SimCode: time 7.91e-07/0.009346, allocations: 0 / 0.5553 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0192/0.02854, allocations: 2.632 MB / 0.5579 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.249/7.278, allocations: 9.266 kB / 0.5579 GB, free: 14.47 MB / 0.5261 GB " [Timeout remaining time 653] (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: 10.311029371805489] Failed to read output from testmodel.py, exit status != 0: 7.3579050386324525 7.373237589 7.366949558 Calling exit ...