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.0008206/0.0008206, allocations: 79.69 kB / 19.25 MB, free: 0.6133 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.0007974/0.0007974, allocations: 170 kB / 22.57 MB, free: 1.949 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 0.865/0.865, allocations: 177.1 MB / 202.9 MB, free: 5.73 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.5276/0.5276, allocations: 110.2 MB / 369.6 MB, free: 12.61 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.673e-06/1.673e-06, allocations: 0 / 0.5474 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.313e-05, allocations: 6.281 kB / 0.5474 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002693/0.002716, allocations: 1.436 MB / 0.5488 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0007599/0.003476, allocations: 450.8 kB / 0.5493 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.136e-05/0.003517, allocations: 4 kB / 0.5493 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.339e-05/0.00354, allocations: 3.938 kB / 0.5493 GB, free: 7.891 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.14e-05/0.003622, allocations: 7.875 kB / 0.5493 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.003783, allocations: 27.84 kB / 0.5493 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.003909, allocations: 47.84 kB / 0.5493 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.018e-05/0.003999, allocations: 8 kB / 0.5494 GB, free: 7.801 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 8.802e-05/0.004087, allocations: 27.91 kB / 0.5494 GB, free: 7.773 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.553e-05/0.004162, allocations: 19.92 kB / 0.5494 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.004185, allocations: 8 kB / 0.5494 GB, free: 7.746 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.004196, allocations: 4 kB / 0.5494 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.537e-05/0.004221, allocations: 3.984 kB / 0.5494 GB, free: 7.738 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.235e-05/0.004264, allocations: 19.92 kB / 0.5494 GB, free: 7.719 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.004384, allocations: 39.94 kB / 0.5495 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.004386, allocations: 0 / 0.5495 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.102e-06/0.004387, allocations: 0 / 0.5495 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.004394, allocations: 0 / 0.5495 GB, free: 7.68 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.0005537/0.004947, allocations: 331.8 kB / 0.5498 GB, free: 7.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.004989, allocations: 11.97 kB / 0.5498 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.456e-05/0.005024, allocations: 34.75 kB / 0.5498 GB, free: 7.266 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.005056, allocations: 8.828 kB / 0.5498 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.967e-05/0.005156, allocations: 109.8 kB / 0.5499 GB, free: 7.125 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.005171, allocations: 4.375 kB / 0.55 GB, free: 7.121 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.005187, allocations: 8.359 kB / 0.55 GB, free: 7.113 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.005349, allocations: 75.95 kB / 0.55 GB, free: 7.027 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.005358, allocations: 192 / 0.55 GB, free: 7.027 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.005369, allocations: 4.125 kB / 0.55 GB, free: 7.023 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.005375, allocations: 0 / 0.55 GB, free: 7.023 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.429e-05/0.005449, allocations: 57.67 kB / 0.5501 GB, free: 6.961 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.005843, allocations: 243.8 kB / 0.5503 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.609e-05/0.005939, allocations: 60.28 kB / 0.5504 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.866e-05/0.005988, allocations: 50.61 kB / 0.5504 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.00601, allocations: 4 kB / 0.5504 GB, free: 6.543 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.006191, allocations: 134.8 kB / 0.5506 GB, free: 6.387 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.854e-06/0.006193, allocations: 3.938 kB / 0.5506 GB, free: 6.383 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0003196/0.006512, allocations: 194.7 kB / 0.5508 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.006621, allocations: 77.11 kB / 0.5508 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.141e-05/0.006702, allocations: 121.8 kB / 0.5509 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.006723, allocations: 25.7 kB / 0.551 GB, free: 5.914 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/0.006772, allocations: 92.12 kB / 0.5511 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.006795, allocations: 19.97 kB / 0.5511 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.006835, allocations: 21.72 kB / 0.5511 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.368e-05/0.006919, allocations: 318.8 kB / 0.5514 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.616e-05/0.006965, allocations: 45.69 kB / 0.5514 GB, free: 5.402 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.342e-05/0.007018, allocations: 64.27 kB / 0.5515 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.007121, allocations: 113.9 kB / 0.5516 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.007123, allocations: 4 kB / 0.5516 GB, free: 5.188 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001765/0.0073, allocations: 160.9 kB / 0.5518 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.007333, allocations: 33.7 kB / 0.5518 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.007337, allocations: 0 / 0.5518 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.007349, allocations: 0 / 0.5518 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.098e-05/0.00739, allocations: 7.938 kB / 0.5518 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.007395, allocations: 0 / 0.5518 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.314e-05/0.007458, allocations: 11.98 kB / 0.5518 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.007465, allocations: 0 / 0.5518 GB, free: 4.953 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.893e-05/0.007554, allocations: 151.6 kB / 0.552 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.007573, allocations: 19.81 kB / 0.552 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.512e-05/0.007598, allocations: 8.438 kB / 0.552 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.0076, allocations: 64 / 0.552 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.007607, allocations: 4 kB / 0.552 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.00761, allocations: 0 / 0.552 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003922/0.008002, allocations: 404.8 kB / 0.5524 GB, free: 4.301 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.008004, allocations: 0 / 0.5524 GB, free: 4.301 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.133e-06/0.008011, allocations: 4 kB / 0.5524 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.008013, allocations: 0 / 0.5524 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.008023, allocations: 0 / 0.5524 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.864e-06/0.008031, allocations: 8 kB / 0.5524 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.008032, allocations: 0 / 0.5524 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.008387, allocations: 262.8 kB / 0.5526 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.569e-05/0.008403, allocations: 7.953 kB / 0.5527 GB, free: 3.996 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.008422, allocations: 0 / 0.5527 GB, free: 3.996 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.008525, allocations: 11.98 kB / 0.5527 GB, free: 3.984 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.008581, allocations: 7.984 kB / 0.5527 GB, free: 3.977 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.008598, allocations: 4 kB / 0.5527 GB, free: 3.973 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.234e-05/0.008641, allocations: 87.28 kB / 0.5528 GB, free: 3.887 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.01e-07/0.008641, allocations: 0 / 0.5528 GB, free: 3.887 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000265/0.008906, allocations: 16 kB / 0.5528 GB, free: 3.871 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.0006814/0.009587, allocations: 0.8039 MB / 0.5536 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001925/0.00978, allocations: 166.7 kB / 0.5537 GB, free: 2.844 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.009782, allocations: 0 / 0.5537 GB, free: 2.844 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.922e-05/0.009871, allocations: 110 kB / 0.5538 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.01018, allocations: 15.98 kB / 0.5538 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.01149, allocations: 1.568 MB / 0.5554 GB, free: 1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.739e-05/0.01155, allocations: 75.47 kB / 0.5554 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.731e-05/0.01159, allocations: 19.61 kB / 0.5555 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.378e-05/0.01163, allocations: 20.5 kB / 0.5555 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of SimCode: time 4.81e-07/0.01163, allocations: 0 / 0.5555 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.02557, allocations: 2.622 MB / 0.558 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.497/6.523, allocations: 11.83 kB / 0.558 GB, free: 14.39 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: 8.981143428944051] Failed to read output from testmodel.py, exit status != 0: 6.602160090580583 6.609837558 6.603699679 Calling exit ...