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.001341/0.001341, allocations: 78.02 kB / 19.18 MB, free: 2.531 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.001478/0.001478, allocations: 171 kB / 22.46 MB, free: 5.359 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.456/1.456, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.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.9267/0.9267, allocations: 110.3 MB / 369.4 MB, free: 1.164 MB / 334.1 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: translateModel(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay") translateModel(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.5477 GB, free: 9.855 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.56e-05, allocations: 2.281 kB / 0.5477 GB, free: 9.852 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002494/0.00252, allocations: 1.446 MB / 0.5491 GB, free: 8.406 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009109/0.003431, allocations: 450.6 kB / 0.5496 GB, free: 7.965 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.438e-05/0.003475, allocations: 3.938 kB / 0.5496 GB, free: 7.961 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.024e-05/0.003505, allocations: 3.938 kB / 0.5496 GB, free: 7.957 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 8.856e-05/0.003594, allocations: 11.91 kB / 0.5496 GB, free: 7.945 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/0.003751, allocations: 19.92 kB / 0.5496 GB, free: 7.926 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.003865, allocations: 47.86 kB / 0.5496 GB, free: 7.879 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.193e-05/0.003947, allocations: 11.98 kB / 0.5496 GB, free: 7.867 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.583e-05/0.004033, allocations: 34.12 kB / 0.5497 GB, free: 7.836 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.84e-05/0.004101, allocations: 15.92 kB / 0.5497 GB, free: 7.82 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.004121, allocations: 4 kB / 0.5497 GB, free: 7.816 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.004134, allocations: 4 kB / 0.5497 GB, free: 7.812 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.004157, allocations: 3.984 kB / 0.5497 GB, free: 7.809 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.727e-05/0.004204, allocations: 15.94 kB / 0.5497 GB, free: 7.793 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.004323, allocations: 55.8 kB / 0.5498 GB, free: 7.738 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.004325, allocations: 0 / 0.5498 GB, free: 7.738 MB / 462.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004326, allocations: 4 kB / 0.5498 GB, free: 7.734 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.00433, allocations: 0 / 0.5498 GB, free: 7.734 MB / 462.1 MB 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.0006116/0.004941, allocations: 311.9 kB / 0.5501 GB, free: 7.395 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.004983, allocations: 12.03 kB / 0.5501 GB, free: 7.383 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.005018, allocations: 0.9375 kB / 0.5501 GB, free: 7.383 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.005138, allocations: 121.7 kB / 0.5502 GB, free: 7.238 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.005152, allocations: 8.375 kB / 0.5502 GB, free: 7.23 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.005167, allocations: 8.359 kB / 0.5502 GB, free: 7.223 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.005305, allocations: 75.95 kB / 0.5503 GB, free: 7.137 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.005313, allocations: 192 / 0.5503 GB, free: 7.137 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.005323, allocations: 384 / 0.5503 GB, free: 7.137 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.005331, allocations: 7.875 kB / 0.5503 GB, free: 7.129 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.195e-05/0.005413, allocations: 53.62 kB / 0.5504 GB, free: 7.07 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003629/0.005775, allocations: 200.6 kB / 0.5505 GB, free: 6.844 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.005884, allocations: 64.27 kB / 0.5506 GB, free: 6.766 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.201e-05/0.005946, allocations: 54.66 kB / 0.5507 GB, free: 6.703 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.005968, allocations: 4 kB / 0.5507 GB, free: 6.699 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/0.006166, allocations: 138.6 kB / 0.5508 GB, free: 6.539 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.006168, allocations: 0 / 0.5508 GB, free: 6.539 MB / 462.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003555/0.006523, allocations: 199.1 kB / 0.551 GB, free: 6.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/0.006594, allocations: 89.05 kB / 0.5511 GB, free: 6.215 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.405e-05/0.006688, allocations: 113.8 kB / 0.5512 GB, free: 6.094 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.006709, allocations: 29.7 kB / 0.5512 GB, free: 6.059 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.207e-05/0.006761, allocations: 80.14 kB / 0.5513 GB, free: 5.977 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.006785, allocations: 19.89 kB / 0.5513 GB, free: 5.957 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.006831, allocations: 21.72 kB / 0.5513 GB, free: 5.93 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.006969, allocations: 326.8 kB / 0.5516 GB, free: 5.602 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.47e-05/0.007024, allocations: 41.7 kB / 0.5517 GB, free: 5.555 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.605e-05/0.0071, allocations: 68.27 kB / 0.5517 GB, free: 5.473 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.007219, allocations: 113.9 kB / 0.5518 GB, free: 5.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.00722, allocations: 0 / 0.5518 GB, free: 5.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001964/0.007417, allocations: 160.9 kB / 0.552 GB, free: 5.164 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/0.007453, allocations: 33.69 kB / 0.552 GB, free: 5.125 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.00746, allocations: 4 kB / 0.552 GB, free: 5.121 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.007475, allocations: 4.062 kB / 0.552 GB, free: 5.117 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.25e-05/0.007517, allocations: 4 kB / 0.552 GB, free: 5.113 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.007522, allocations: 0 / 0.552 GB, free: 5.113 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.024e-05/0.007592, allocations: 15.98 kB / 0.5521 GB, free: 5.098 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.007605, allocations: 8 kB / 0.5521 GB, free: 5.09 MB / 462.1 MB 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.0001163/0.007722, allocations: 148.8 kB / 0.5522 GB, free: 4.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.007745, allocations: 11.89 kB / 0.5522 GB, free: 4.918 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/0.007771, allocations: 12.42 kB / 0.5522 GB, free: 4.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.007774, allocations: 4 kB / 0.5522 GB, free: 4.906 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.007777, allocations: 0 / 0.5522 GB, free: 4.906 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.00778, allocations: 7.938 kB / 0.5522 GB, free: 4.898 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004256/0.008206, allocations: 365.5 kB / 0.5526 GB, free: 4.492 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.008207, allocations: 0 / 0.5526 GB, free: 4.492 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.594e-06/0.008215, allocations: 0 / 0.5526 GB, free: 4.492 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.279e-06/0.008219, allocations: 3.984 kB / 0.5526 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.008231, allocations: 4 kB / 0.5526 GB, free: 4.484 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.008232, allocations: 0 / 0.5526 GB, free: 4.484 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.008233, allocations: 0 / 0.5526 GB, free: 4.484 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.008503, allocations: 270.8 kB / 0.5529 GB, free: 4.191 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.409e-05/0.008518, allocations: 7.953 kB / 0.5529 GB, free: 4.184 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.00854, allocations: 4 kB / 0.5529 GB, free: 4.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.00865, allocations: 15.98 kB / 0.5529 GB, free: 4.164 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.008694, allocations: 11.98 kB / 0.5529 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.008708, allocations: 0 / 0.5529 GB, free: 4.152 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.726e-05/0.008775, allocations: 95.8 kB / 0.553 GB, free: 4.059 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.008775, allocations: 0 / 0.553 GB, free: 4.059 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.009019, allocations: 12 kB / 0.553 GB, free: 4.047 MB / 462.1 MB 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.0001091/0.009128, allocations: 107.2 kB / 0.5531 GB, free: 3.93 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.009357, allocations: 166.7 kB / 0.5533 GB, free: 3.742 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.009358, allocations: 4.125 kB / 0.5533 GB, free: 3.738 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.009471, allocations: 113 kB / 0.5534 GB, free: 3.609 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.009767, allocations: 21.8 kB / 0.5534 GB, free: 3.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003591/0.01013, allocations: 170.6 kB / 0.5536 GB, free: 3.391 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.647e-05/0.0102, allocations: 67.34 kB / 0.5536 GB, free: 3.305 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.163e-05/0.01023, allocations: 11.77 kB / 0.5536 GB, free: 3.293 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.01026, allocations: 12.5 kB / 0.5536 GB, free: 3.281 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.01027, allocations: 0 / 0.5536 GB, free: 3.281 MB / 462.1 MB Notification: Performance of Templates: time 0.003848/0.01411, allocations: 0.9494 MB / 0.5546 GB, free: 2.371 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (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 & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5261094607412815] Failed to read output from testmodel.py, exit status != 0: 0.022547345608472824 0.037541414 0.030122509000000002 Calling exit ...