Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.PlaceholderReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.813/2.813, allocations: 472.6 MB / 0.7451 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 62.2 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3264, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal): time 0.002624/0.329, allocations: 0.9305 MB / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001766/0.3308, allocations: 1.17 MB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.331, allocations: 4 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.3312, allocations: 31.72 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.409e-05/0.3312, allocations: 15.86 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005652/0.3318, allocations: 139.2 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.3321, allocations: 179.6 kB / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.3322, allocations: 53.3 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.3323, allocations: 51.84 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.3325, allocations: 43.78 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.361e-05/0.3325, allocations: 16 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.623e-05/0.3326, allocations: 35.92 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.979e-05/0.3326, allocations: 15.92 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.057e-05/0.3327, allocations: 59.77 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.333, allocations: 163.8 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.333, allocations: 0 / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.734e-06/0.333, allocations: 0 / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.333, allocations: 0 / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006432/0.3337, allocations: 436.7 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3337, allocations: 12.03 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.037e-05/0.3338, allocations: 20.84 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.3341, allocations: 216.1 kB / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.3341, allocations: 4.375 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.3341, allocations: 12.31 kB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.3343, allocations: 84.81 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.3343, allocations: 192 / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.3344, allocations: 3.938 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.3344, allocations: 4 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.454e-05/0.3344, allocations: 31.92 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006259/0.3351, allocations: 0.536 MB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.872e-05/0.3352, allocations: 34.58 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/0.3352, allocations: 8.922 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.263e-06/0.3352, allocations: 0 / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.3354, allocations: 67.33 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3354, allocations: 0 / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002496/0.3357, allocations: 81.58 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.3358, allocations: 51.41 kB / 1.073 GB, free: 5.699 MB / 0.8262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Templates/Plants/Controls/Utilities/PlaceholderReal.mo:9:3-12:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.336, allocations: 173.2 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.336, allocations: 33.7 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.222e-05/0.3361, allocations: 108 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.3361, allocations: 7.906 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.146e-05/0.3362, allocations: 29.7 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.3364, allocations: 322.8 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.656e-05/0.3365, allocations: 35.98 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.97e-05/0.3366, allocations: 62.55 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.3367, allocations: 96.14 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3367, allocations: 0 / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002667/0.337, allocations: 163.2 kB / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.89e-05/0.337, allocations: 37.7 kB / 1.074 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3371, allocations: 3.938 kB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3371, allocations: 0 / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.73e-05/0.3371, allocations: 12.05 kB / 1.074 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3372, allocations: 3.938 kB / 1.074 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.3374, allocations: 43.81 kB / 1.074 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.3374, allocations: 4 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 9.912e-05/0.3375, allocations: 125.8 kB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.3375, allocations: 7.906 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.3376, allocations: 4.938 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3376, allocations: 8 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3376, allocations: 0 / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.3376, allocations: 3.938 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.3377, allocations: 193.6 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3378, allocations: 0 / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.596e-05/0.3378, allocations: 4 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3378, allocations: 0 / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.3378, allocations: 0 / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3378, allocations: 0 / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.338e-05/0.3378, allocations: 3.984 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.3379, allocations: 109 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/0.338, allocations: 85.02 kB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.338, allocations: 0 / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.377e-05/0.3381, allocations: 7.984 kB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.3381, allocations: 7.938 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.3381, allocations: 0 / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.671e-05/0.3382, allocations: 125.8 kB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3382, allocations: 0 / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000219/0.3384, allocations: 28 kB / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001627/0.3386, allocations: 107.8 kB / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.3389, allocations: 139.3 kB / 1.075 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3389, allocations: 0 / 1.075 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.296e-05/0.3389, allocations: 15.94 kB / 1.075 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.3392, allocations: 26.2 kB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004103/0.3396, allocations: 187.3 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.3399, allocations: 0.7002 MB / 1.075 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.568e-05/0.3399, allocations: 8.422 kB / 1.075 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.27e-05/0.34, allocations: 15.38 kB / 1.075 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.34, allocations: 0 / 1.075 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of Templates: time 0.004231/0.3442, allocations: 1.448 MB / 1.077 GB, free: 1.02 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile (rm -f Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1)