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.000825/0.000825, 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.000906/0.000906, allocations: 165.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 0.888/0.888, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.5308/0.5308, allocations: 110.2 MB / 369.4 MB, free: 12.62 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.473e-06/1.473e-06, allocations: 0 / 0.5472 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.714e-05, allocations: 4.953 kB / 0.5472 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002391/0.002419, allocations: 1.443 MB / 0.5486 GB, free: 8.406 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006728/0.003091, allocations: 446.8 kB / 0.5491 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.775e-05/0.003129, allocations: 0 / 0.5491 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.72e-05/0.003156, allocations: 3.938 kB / 0.5491 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.305e-05/0.003239, allocations: 15.88 kB / 0.5491 GB, free: 7.945 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.003409, allocations: 19.91 kB / 0.5491 GB, free: 7.926 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.003528, allocations: 55.78 kB / 0.5491 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.911e-05/0.003618, allocations: 0 / 0.5491 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 8.153e-05/0.003699, allocations: 43.83 kB / 0.5492 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.403e-05/0.003763, allocations: 11.98 kB / 0.5492 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.003782, allocations: 0 / 0.5492 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 8.626e-06/0.003791, allocations: 8 kB / 0.5492 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.48e-05/0.003816, allocations: 11.94 kB / 0.5492 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.003854, allocations: 11.98 kB / 0.5492 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.003975, allocations: 51.86 kB / 0.5493 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.003978, allocations: 0 / 0.5493 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.32e-07/0.003979, allocations: 0 / 0.5493 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.003983, allocations: 0 / 0.5493 GB, free: 7.734 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.0005002/0.004483, allocations: 323.9 kB / 0.5496 GB, free: 7.383 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.004524, allocations: 8.031 kB / 0.5496 GB, free: 7.375 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.694e-05/0.004551, allocations: 34.75 kB / 0.5496 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.943e-05/0.00458, allocations: 8.891 kB / 0.5496 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.604e-05/0.004667, allocations: 109.8 kB / 0.5497 GB, free: 7.191 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.004681, allocations: 8.375 kB / 0.5498 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.004689, allocations: 384 / 0.5498 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.004798, allocations: 79.89 kB / 0.5498 GB, free: 7.094 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.004807, allocations: 4.188 kB / 0.5498 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.004816, allocations: 4.125 kB / 0.5498 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.004821, allocations: 3.938 kB / 0.5498 GB, free: 7.082 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.651e-05/0.004877, allocations: 45.69 kB / 0.5499 GB, free: 7.031 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.005216, allocations: 243.9 kB / 0.5501 GB, free: 6.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.869e-05/0.005315, allocations: 68.2 kB / 0.5502 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.489e-05/0.00536, allocations: 50.62 kB / 0.5502 GB, free: 6.609 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.005386, allocations: 0 / 0.5502 GB, free: 6.609 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.005574, allocations: 134.8 kB / 0.5504 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 9.12e-07/0.005575, allocations: 0 / 0.5504 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0002788/0.005854, allocations: 202.7 kB / 0.5506 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.005912, allocations: 81.11 kB / 0.5506 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.469e-05/0.005987, allocations: 113.8 kB / 0.5507 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.006001, allocations: 25.7 kB / 0.5508 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.444e-05/0.006045, allocations: 92.19 kB / 0.5508 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.006062, allocations: 15.91 kB / 0.5509 GB, free: 5.871 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.006094, allocations: 33.64 kB / 0.5509 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.432e-05/0.006169, allocations: 314.8 kB / 0.5512 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.366e-05/0.006202, allocations: 45.69 kB / 0.5512 GB, free: 5.465 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.396e-05/0.006246, allocations: 72.2 kB / 0.5513 GB, free: 5.379 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.131e-05/0.006328, allocations: 106 kB / 0.5514 GB, free: 5.254 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.006329, allocations: 0 / 0.5514 GB, free: 5.254 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001251/0.006454, allocations: 164.9 kB / 0.5516 GB, free: 5.074 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.006482, allocations: 33.7 kB / 0.5516 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.006488, allocations: 4 kB / 0.5516 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.006499, allocations: 0 / 0.5516 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.942e-05/0.006539, allocations: 7.938 kB / 0.5516 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.006545, allocations: 3.984 kB / 0.5516 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.178e-05/0.006586, allocations: 4 kB / 0.5516 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.006594, allocations: 4 kB / 0.5516 GB, free: 5.012 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 7.809e-05/0.006672, allocations: 147.5 kB / 0.5518 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.006683, allocations: 12.33 kB / 0.5518 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.292e-05/0.006706, allocations: 12.44 kB / 0.5518 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.006709, allocations: 7.984 kB / 0.5518 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.006714, allocations: 0 / 0.5518 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.006717, allocations: 3.938 kB / 0.5518 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.007009, allocations: 400.8 kB / 0.5522 GB, free: 4.363 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.00701, allocations: 0 / 0.5522 GB, free: 4.363 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-06/0.007014, allocations: 0 / 0.5522 GB, free: 4.363 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.007017, allocations: 4 kB / 0.5522 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.007026, allocations: 4 kB / 0.5522 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.007028, allocations: 0 / 0.5522 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.00703, allocations: 3.938 kB / 0.5522 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.007184, allocations: 262.9 kB / 0.5524 GB, free: 4.066 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.84e-05/0.007262, allocations: 7.953 kB / 0.5524 GB, free: 4.059 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.007277, allocations: 4 kB / 0.5525 GB, free: 4.055 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.017e-05/0.007337, allocations: 11.92 kB / 0.5525 GB, free: 4.043 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.007374, allocations: 7.984 kB / 0.5525 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.007388, allocations: 8 kB / 0.5525 GB, free: 4.027 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.169e-05/0.00742, allocations: 83.27 kB / 0.5526 GB, free: 3.945 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.00742, allocations: 4 kB / 0.5526 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001583/0.007578, allocations: 19.94 kB / 0.5526 GB, free: 3.922 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.0003238/0.007902, allocations: 0.7999 MB / 0.5534 GB, free: 3.086 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001712/0.008073, allocations: 178.7 kB / 0.5535 GB, free: 2.887 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.008075, allocations: 0 / 0.5535 GB, free: 2.887 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.704e-05/0.008142, allocations: 113 kB / 0.5536 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.008375, allocations: 16.94 kB / 0.5537 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.009488, allocations: 1.565 MB / 0.5552 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.463e-05/0.009542, allocations: 79.39 kB / 0.5553 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.191e-05/0.009574, allocations: 11.64 kB / 0.5553 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.009617, allocations: 16.5 kB / 0.5553 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/0.009618, allocations: 0 / 0.5553 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.02941, allocations: 2.635 MB / 0.5579 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.911/6.94, allocations: 4.453 kB / 0.5579 GB, free: 14.45 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 & /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: 9.360924775712192] Failed to read output from testmodel.py, exit status != 0: 7.022893802262843 7.030278055 7.024544736 Calling exit ...