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.0009249/0.0009249, allocations: 81.05 kB / 10.01 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001352/0.002277, allocations: 449.8 kB / 10.44 MB, free: 252 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.00106/0.00106, allocations: 164.8 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001494/0.002553, allocations: 479.5 kB / 11.83 MB, free: 2.34 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.8971/0.8971, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08502/0.9821, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.5539/0.5539, allocations: 110.3 MB / 354.5 MB, free: 12.3 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.06059/0.6145, allocations: 34.96 MB / 389.4 MB, free: 9.238 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 1.443e-06/1.443e-06, allocations: 3.938 kB / 390.7 MB, free: 7.949 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002e-05/1.146e-05, allocations: 2.312 kB / 390.7 MB, free: 7.945 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002501/0.002513, allocations: 1.537 MB / 392.2 MB, free: 6.398 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007178/0.00323, allocations: 462.7 kB / 392.7 MB, free: 5.941 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.411e-05/0.003264, allocations: 0 / 392.7 MB, free: 5.941 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.419e-05/0.003289, allocations: 3.938 kB / 392.7 MB, free: 5.938 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.436e-05/0.003343, allocations: 15.86 kB / 392.7 MB, free: 5.922 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.781e-05/0.003431, allocations: 15.92 kB / 392.7 MB, free: 5.906 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.003548, allocations: 55.78 kB / 392.8 MB, free: 5.852 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.428e-05/0.003612, allocations: 8 kB / 392.8 MB, free: 5.844 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.515e-05/0.003707, allocations: 43.83 kB / 392.8 MB, free: 5.801 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.477e-05/0.003772, allocations: 11.98 kB / 392.9 MB, free: 5.789 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.003793, allocations: 4 kB / 392.9 MB, free: 5.785 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.44e-05/0.003808, allocations: 4 kB / 392.9 MB, free: 5.781 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.606e-05/0.003834, allocations: 7.938 kB / 392.9 MB, free: 5.773 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.403e-05/0.003868, allocations: 8 kB / 392.9 MB, free: 5.766 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.003969, allocations: 31.86 kB / 392.9 MB, free: 5.734 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.003979, allocations: 0 / 392.9 MB, free: 5.734 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.00398, allocations: 0 / 392.9 MB, free: 5.734 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.003988, allocations: 4 kB / 392.9 MB, free: 5.73 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.0004831/0.004472, allocations: 298.2 kB / 393.2 MB, free: 5.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.004503, allocations: 8.031 kB / 393.2 MB, free: 5.402 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.004543, allocations: 12.92 kB / 393.2 MB, free: 5.391 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.682e-05/0.00463, allocations: 121.7 kB / 393.3 MB, free: 5.246 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.00464, allocations: 4.375 kB / 393.3 MB, free: 5.242 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.004652, allocations: 4.375 kB / 393.3 MB, free: 5.238 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.625e-05/0.004748, allocations: 67.94 kB / 393.4 MB, free: 5.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.004755, allocations: 8.172 kB / 393.4 MB, free: 5.152 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.00477, allocations: 8.375 kB / 393.4 MB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.004775, allocations: 3.938 kB / 393.4 MB, free: 5.141 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.998e-05/0.004815, allocations: 37.7 kB / 393.5 MB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002598/0.005075, allocations: 160.2 kB / 393.6 MB, free: 4.926 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.959e-05/0.005145, allocations: 56.28 kB / 393.7 MB, free: 4.855 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.42e-05/0.005179, allocations: 42.55 kB / 393.7 MB, free: 4.805 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.005196, allocations: 4 kB / 393.7 MB, free: 4.801 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001291/0.005325, allocations: 123 kB / 393.8 MB, free: 4.656 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.005326, allocations: 0 / 393.8 MB, free: 4.656 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001831/0.005509, allocations: 170.6 kB / 394 MB, free: 4.465 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.27e-05/0.005582, allocations: 166.2 kB / 394.2 MB, free: 4.266 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.219e-05/0.005654, allocations: 114.7 kB / 394.3 MB, free: 4.141 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.005667, allocations: 25.7 kB / 394.3 MB, free: 4.109 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.005705, allocations: 92.08 kB / 394.4 MB, free: 4.016 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.005728, allocations: 11.91 kB / 394.4 MB, free: 4.004 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.00577, allocations: 29.69 kB / 394.4 MB, free: 3.969 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.872e-05/0.005859, allocations: 314.8 kB / 394.8 MB, free: 3.652 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.269e-05/0.005892, allocations: 45.62 kB / 394.8 MB, free: 3.602 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.668e-05/0.005938, allocations: 60.27 kB / 394.9 MB, free: 3.527 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.799e-05/0.006016, allocations: 102 kB / 395 MB, free: 3.406 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.006018, allocations: 0 / 395 MB, free: 3.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001231/0.006141, allocations: 136.9 kB / 395.1 MB, free: 3.254 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.006176, allocations: 29.7 kB / 395.1 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.006182, allocations: 3.938 kB / 395.1 MB, free: 3.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.006192, allocations: 4 kB / 395.1 MB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.817e-05/0.00623, allocations: 4 kB / 395.1 MB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.006233, allocations: 0 / 395.1 MB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.036e-05/0.006284, allocations: 11.98 kB / 395.1 MB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.006291, allocations: 8.062 kB / 395.2 MB, free: 3.188 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 8.139e-05/0.006373, allocations: 143.5 kB / 395.3 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/0.006391, allocations: 11.92 kB / 395.3 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.352e-05/0.006415, allocations: 16.38 kB / 395.3 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.006417, allocations: 0 / 395.3 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.006418, allocations: 0 / 395.3 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.006421, allocations: 0 / 395.3 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.006702, allocations: 290.1 kB / 395.6 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.006704, allocations: 3.938 kB / 395.6 MB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.416e-06/0.006712, allocations: 4 kB / 395.6 MB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.006723, allocations: 7.938 kB / 395.6 MB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.006725, allocations: 4 kB / 395.6 MB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.006734, allocations: 0 / 395.6 MB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.006735, allocations: 3.938 kB / 395.6 MB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.006736, allocations: 0 / 395.6 MB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.006889, allocations: 230.9 kB / 395.9 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.006909, allocations: 7.875 kB / 395.9 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.096e-05/0.007, allocations: 16.05 kB / 395.9 MB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.007032, allocations: 3.984 kB / 395.9 MB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.007047, allocations: 8 kB / 395.9 MB, free: 2.371 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.701e-05/0.007064, allocations: 13.41 kB / 395.9 MB, free: 2.355 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.007064, allocations: 0 / 395.9 MB, free: 2.355 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002278/0.007292, allocations: 16 kB / 395.9 MB, free: 2.34 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.579e-05/0.007367, allocations: 84.41 kB / 396 MB, free: 2.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.007515, allocations: 155.7 kB / 396.1 MB, free: 2.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.007521, allocations: 4 kB / 396.2 MB, free: 2.066 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.978e-05/0.00761, allocations: 122 kB / 396.3 MB, free: 1.926 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.007854, allocations: 113.6 kB / 396.4 MB, free: 1.797 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004356/0.008289, allocations: 186.1 kB / 396.6 MB, free: 1.582 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.948e-05/0.008329, allocations: 59.36 kB / 396.6 MB, free: 1.504 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.655e-05/0.008355, allocations: 3.984 kB / 396.6 MB, free: 1.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.016e-05/0.008436, allocations: 67.38 kB / 396.7 MB, free: 1.434 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.008436, allocations: 0 / 396.7 MB, free: 1.434 MB / 378.7 MB Notification: Performance of Templates: time 0.003085/0.01152, allocations: 0.9982 MB / 397.7 MB, free: 452 kB / 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: 2.921372211538255]