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.000757/0.000757, allocations: 76.17 kB / 9.932 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001168/0.001925, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007474/0.0007474, allocations: 165.1 kB / 11.26 MB, free: 2.914 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009752/0.001723, allocations: 463.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9531/0.9531, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07983/1.033, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.6511/0.6511, allocations: 110.2 MB / 354.2 MB, free: 12.39 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.05704/0.7081, allocations: 34.95 MB / 389.2 MB, free: 9.363 MB / 378.7 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: 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 3.025e-06/3.025e-06, allocations: 3.984 kB / 390.5 MB, free: 8.086 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.557e-05, allocations: 2.312 kB / 390.5 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002166/0.002192, allocations: 1.513 MB / 392 MB, free: 6.555 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005888/0.00278, allocations: 466.7 kB / 392.4 MB, free: 6.094 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.878e-05/0.002819, allocations: 0 / 392.4 MB, free: 6.094 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.283e-05/0.002842, allocations: 3.938 kB / 392.4 MB, free: 6.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.422e-05/0.002896, allocations: 19.84 kB / 392.5 MB, free: 6.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.731e-05/0.002974, allocations: 15.92 kB / 392.5 MB, free: 6.055 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.003076, allocations: 51.8 kB / 392.5 MB, free: 6.004 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.955e-05/0.003146, allocations: 4 kB / 392.5 MB, free: 6 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.13e-05/0.003227, allocations: 47.83 kB / 392.6 MB, free: 5.953 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.013e-05/0.003287, allocations: 15.98 kB / 392.6 MB, free: 5.938 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.003307, allocations: 4 kB / 392.6 MB, free: 5.934 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.003318, allocations: 4 kB / 392.6 MB, free: 5.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.003336, allocations: 7.938 kB / 392.6 MB, free: 5.922 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.717e-05/0.003364, allocations: 8 kB / 392.6 MB, free: 5.914 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.158e-05/0.003455, allocations: 31.84 kB / 392.6 MB, free: 5.883 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-05/0.00347, allocations: 0 / 392.6 MB, free: 5.883 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.003471, allocations: 0 / 392.6 MB, free: 5.883 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.003486, allocations: 0 / 392.6 MB, free: 5.883 MB / 378.7 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.0004531/0.003939, allocations: 306.2 kB / 392.9 MB, free: 5.555 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.003967, allocations: 8.031 kB / 393 MB, free: 5.547 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.003999, allocations: 8.922 kB / 393 MB, free: 5.539 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.683e-05/0.004086, allocations: 113.7 kB / 393.1 MB, free: 5.402 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.004098, allocations: 4.375 kB / 393.1 MB, free: 5.398 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.004109, allocations: 384 / 393.1 MB, free: 5.398 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.208e-05/0.004201, allocations: 79.94 kB / 393.2 MB, free: 5.309 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.004209, allocations: 192 / 393.2 MB, free: 5.309 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.994e-06/0.004216, allocations: 384 / 393.2 MB, free: 5.309 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.004224, allocations: 7.938 kB / 393.2 MB, free: 5.301 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.629e-05/0.00426, allocations: 45.67 kB / 393.2 MB, free: 5.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002555/0.004516, allocations: 160.2 kB / 393.4 MB, free: 5.078 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.704e-05/0.004583, allocations: 56.22 kB / 393.4 MB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.783e-05/0.00461, allocations: 46.67 kB / 393.5 MB, free: 4.953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.004629, allocations: 0 / 393.5 MB, free: 4.953 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001127/0.004741, allocations: 122.8 kB / 393.6 MB, free: 4.809 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 8.02e-07/0.004742, allocations: 0 / 393.6 MB, free: 4.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001415/0.004884, allocations: 166.6 kB / 393.8 MB, free: 4.621 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.004924, allocations: 85.09 kB / 393.8 MB, free: 4.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.354e-05/0.004977, allocations: 118.7 kB / 393.9 MB, free: 4.391 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.004988, allocations: 25.7 kB / 394 MB, free: 4.359 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.575e-05/0.005014, allocations: 92.08 kB / 394.1 MB, free: 4.266 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.005028, allocations: 15.89 kB / 394.1 MB, free: 4.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.005062, allocations: 29.64 kB / 394.1 MB, free: 4.215 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.693e-05/0.005129, allocations: 314.8 kB / 394.4 MB, free: 3.898 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.215e-05/0.005151, allocations: 45.69 kB / 394.5 MB, free: 3.848 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.113e-05/0.005183, allocations: 60.25 kB / 394.5 MB, free: 3.773 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.4e-05/0.005237, allocations: 97.91 kB / 394.6 MB, free: 3.656 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.005238, allocations: 4 kB / 394.6 MB, free: 3.652 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.308e-05/0.005322, allocations: 129 kB / 394.7 MB, free: 3.508 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.005351, allocations: 33.69 kB / 394.8 MB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.005358, allocations: 7.938 kB / 394.8 MB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-06/0.005365, allocations: 0 / 394.8 MB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.085e-05/0.005396, allocations: 4 kB / 394.8 MB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.005399, allocations: 0 / 394.8 MB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.448e-05/0.005433, allocations: 15.98 kB / 394.8 MB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.005437, allocations: 0 / 394.8 MB, free: 3.441 MB / 378.7 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 6.979e-05/0.005507, allocations: 155.5 kB / 395 MB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.168e-05/0.005519, allocations: 11.98 kB / 395 MB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.345e-05/0.005542, allocations: 12.38 kB / 395 MB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.005543, allocations: 0 / 395 MB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.005545, allocations: 0 / 395 MB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.005548, allocations: 0 / 395 MB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.005764, allocations: 294 kB / 395.3 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.005766, allocations: 3.938 kB / 395.3 MB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.302e-06/0.005772, allocations: 3.984 kB / 395.3 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.499e-05/0.005787, allocations: 7.938 kB / 395.3 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.005788, allocations: 0 / 395.3 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-06/0.005794, allocations: 4 kB / 395.3 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.005795, allocations: 64 / 395.3 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.005797, allocations: 4 kB / 395.3 MB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.005904, allocations: 230.8 kB / 395.5 MB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.005921, allocations: 7.938 kB / 395.5 MB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.888e-05/0.00597, allocations: 4 kB / 395.5 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.006009, allocations: 7.984 kB / 395.5 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.006022, allocations: 4 kB / 395.5 MB, free: 2.625 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.363e-05/0.006036, allocations: 12.84 kB / 395.6 MB, free: 2.609 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006036, allocations: 0 / 395.6 MB, free: 2.609 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001293/0.006165, allocations: 20 kB / 395.6 MB, free: 2.59 MB / 378.7 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 7.034e-05/0.006235, allocations: 84.42 kB / 395.7 MB, free: 2.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001189/0.006354, allocations: 163.6 kB / 395.8 MB, free: 2.312 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.006358, allocations: 4 kB / 395.8 MB, free: 2.309 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.036e-05/0.006409, allocations: 106.7 kB / 395.9 MB, free: 2.184 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.006554, allocations: 27.78 kB / 396 MB, free: 2.156 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.006905, allocations: 186 kB / 396.1 MB, free: 1.941 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.186e-05/0.006937, allocations: 67.47 kB / 396.2 MB, free: 1.855 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.617e-05/0.006963, allocations: 4 kB / 396.2 MB, free: 1.852 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.897e-05/0.007022, allocations: 67.36 kB / 396.3 MB, free: 1.785 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.007023, allocations: 0 / 396.3 MB, free: 1.785 MB / 378.7 MB Notification: Performance of Templates: time 0.002593/0.009616, allocations: 1.016 MB / 397.3 MB, free: 0.7773 MB / 378.7 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=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1137450877577066]