Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00631/0.00631, allocations: 101.1 kB / 15.88 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 190.9 kB / 16.79 MB, free: 5.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.704/2.704, allocations: 461.9 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 62.47 kB / 0.8991 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2892, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.003978/0.2932, allocations: 2.549 MB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002114/0.2953, allocations: 1.177 MB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003746/0.2957, allocations: 15.94 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.296, allocations: 39.59 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.2962, allocations: 27.78 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008708/0.2971, allocations: 302.5 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006038/0.2977, allocations: 0.5148 MB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000552/0.2982, allocations: 338.8 kB / 1.058 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002695/0.2985, allocations: 159.5 kB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.2988, allocations: 175.1 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.499e-05/0.2989, allocations: 24 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.299, allocations: 51.98 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.657e-05/0.2991, allocations: 79.73 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.2993, allocations: 183.1 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004589/0.2998, allocations: 0.5109 MB / 1.059 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2998, allocations: 7.938 kB / 1.059 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2998, allocations: 0 / 1.059 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.738e-05/0.2998, allocations: 0 / 1.059 GB, free: 2.121 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001162/0.301, allocations: 0.6716 MB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.301, allocations: 12.02 kB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.3012, allocations: 48.47 kB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004046/0.3016, allocations: 327.7 kB / 1.06 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.706e-05/0.3016, allocations: 37.31 kB / 1.06 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.573e-05/0.3017, allocations: 44.38 kB / 1.06 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007254/0.3025, allocations: 431.2 kB / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.3025, allocations: 4.125 kB / 1.06 GB, free: 444 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.3025, allocations: 23.86 kB / 1.06 GB, free: 420 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.3025, allocations: 8 kB / 1.06 GB, free: 412 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000515/0.3031, allocations: 262.4 kB / 1.061 GB, free: 152 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.3049, allocations: 1.683 MB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004313/0.3053, allocations: 251.9 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.3056, allocations: 138.5 kB / 1.063 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.3056, allocations: 7.984 kB / 1.063 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004353/0.3061, allocations: 238.1 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=31): time 2.074e-06/0.3061, allocations: 0 / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of matching and sorting (n=31): time 0.00082/0.3069, allocations: 402.8 kB / 1.063 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.757e-05/0.307, allocations: 114.8 kB / 1.063 GB, free: 13.17 MB / 0.8262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter holTim.ph.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter hol.ph.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.3072, allocations: 231.4 kB / 1.064 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.641e-05/0.3073, allocations: 49.69 kB / 1.064 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.3074, allocations: 188.4 kB / 1.064 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.764e-05/0.3075, allocations: 75.08 kB / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.3077, allocations: 122.2 kB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.3078, allocations: 330.8 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.3081, allocations: 136.9 kB / 1.064 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/0.3084, allocations: 247.9 kB / 1.065 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005089/0.3089, allocations: 365.2 kB / 1.065 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.309, allocations: 4 kB / 1.065 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007898/0.3098, allocations: 468.4 kB / 1.065 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.225e-05/0.3098, allocations: 41.69 kB / 1.065 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.3098, allocations: 4 kB / 1.065 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.3098, allocations: 8 kB / 1.065 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.3101, allocations: 47.84 kB / 1.066 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.3101, allocations: 11.94 kB / 1.066 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003164/0.3104, allocations: 67.98 kB / 1.066 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/0.3105, allocations: 24 kB / 1.066 GB, free: 10.64 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 42 ($PRE.holTim.truHol.onDelay.u,$PRE.holTim.truHol.toOutputTrue.enableFire,$PRE.holTim.truHol.toInitial.enableFire,$PRE.holTim.truHol.onDelay.t_next,$whenCondition4,$whenCondition2,$whenCondition3,holTim.truHol.toInitial.enableFire,holTim.truHol.toOutputTrue.enableFire,holTim.truHol.outputTrue.active,holTim.truHol.outputTrue.oldActive,$PRE.holTim.truHol.outputTrue.oldActive,holTim.truHol.outputTrue.newActive,$PRE.holTim.truHol.outputTrue.newActive,holTim.truHol.outputTrue.localActive,$PRE.holTim.truHol.outputTrue.localActive,holTim.truHol.initialStep.oldActive,$PRE.holTim.truHol.initialStep.oldActive,holTim.truHol.initialStep.newActive,$PRE.holTim.truHol.initialStep.newActive,holTim.truHol.initialStep.localActive,$PRE.holTim.truHol.initialStep.localActive,holTim.truHol.initialStep.active,holTim.truHol.onDelay.y,holTim.truHol.onDelay.u,holTim.truHol.stateGraphRoot.activeSteps,holTim.triSam.y,$PRE.holTim.triSam.y,booPul.y,$PRE.booPul.y,hol.triSam.y,$PRE.hol.triSam.y,$whenCondition1,$whenCondition6,$whenCondition5,holTim.truHol.onDelay.t_next,holTim.truHol.toOutputTrue.t_start,$PRE.holTim.truHol.toOutputTrue.t_start,holTim.truHol.toInitial.t_start,$PRE.holTim.truHol.toInitial.t_start,holTim.truHol.stateGraphRoot.resume,holTim.truHol.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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.0002196/0.3107, allocations: 198.9 kB / 1.066 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/0.3107, allocations: 23.75 kB / 1.066 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005894/0.3113, allocations: 332 kB / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.3114, allocations: 8 kB / 1.066 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.3114, allocations: 4 kB / 1.066 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3114, allocations: 0 / 1.066 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.3125, allocations: 0.8572 MB / 1.067 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3125, allocations: 0 / 1.067 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.3126, allocations: 27.86 kB / 1.067 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3127, allocations: 4 kB / 1.067 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.3127, allocations: 8 kB / 1.067 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.3127, allocations: 7.984 kB / 1.067 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3127, allocations: 3.938 kB / 1.067 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005701/0.3133, allocations: 426.6 kB / 1.067 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.267e-05/0.3134, allocations: 96.86 kB / 1.068 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.716e-05/0.3134, allocations: 19.98 kB / 1.068 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.3135, allocations: 11.98 kB / 1.068 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.775e-05/0.3136, allocations: 27.91 kB / 1.068 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.3137, allocations: 19.98 kB / 1.068 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001139/0.3138, allocations: 141.5 kB / 1.068 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3138, allocations: 0 / 1.068 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004163/0.3142, allocations: 95.59 kB / 1.068 GB, free: 8.246 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (holTim.truHol.toInitial.t_start,holTim.truHol.toOutputTrue.t_start,holTim.truHol.outputTrue.localActive,holTim.truHol.onDelay.u,holTim.truHol.outputTrue.active,holTim.truHol.initialStep.active,$cse1,$cse2,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,$whenCondition1,hol.triSam.y,booPul.y,holTim.triSam.y,holTim.truHol.stateGraphRoot.activeSteps,holTim.truHol.onDelay.y,holTim.truHol.onDelay.t_next,holTim.truHol.initialStep.localActive,holTim.truHol.initialStep.newActive,holTim.truHol.initialStep.oldActive,holTim.truHol.outputTrue.newActive,holTim.truHol.outputTrue.oldActive,holTim.truHol.toOutputTrue.enableFire,holTim.truHol.toInitial.enableFire) * Number of discrete states: 5 (holTim.truHol.onDelay.t_next,holTim.truHol.initialStep.newActive,holTim.truHol.outputTrue.newActive,holTim.truHol.toOutputTrue.t_start,holTim.truHol.toInitial.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002072/0.3144, allocations: 136.1 kB / 1.068 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006609/0.3151, allocations: 387.5 kB / 1.068 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3151, allocations: 0 / 1.068 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.3154, allocations: 156.8 kB / 1.068 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.3157, allocations: 45.22 kB / 1.069 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.3168, allocations: 0.6854 MB / 1.069 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.3171, allocations: 0.7723 MB / 1.07 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.205e-05/0.3172, allocations: 35.42 kB / 1.07 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of SimCode: time 2.244e-06/0.3172, allocations: 0 / 1.07 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of Templates: time 0.007132/0.3244, allocations: 4.198 MB / 1.074 GB, free: 1.773 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe 2>&1)