Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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.PlaceholderInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008542/0.0008545, allocations: 92.23 kB / 16.02 MB, free: 80 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.001058/0.001058, allocations: 184.3 kB / 16.92 MB, free: 6.922 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.399/1.399, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.712/2.712, allocations: 462.7 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003736, allocations: 9.281 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3077, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.001083/0.3089, allocations: 0.5675 MB / 1.06 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.3105, allocations: 1.182 MB / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.949e-05/0.3106, allocations: 0 / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.3107, allocations: 23.8 kB / 1.061 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.688e-05/0.3108, allocations: 11.86 kB / 1.061 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004573/0.3112, allocations: 130.3 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.3114, allocations: 155.6 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.3116, allocations: 37.31 kB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.042e-05/0.3116, allocations: 43.84 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.318e-05/0.3117, allocations: 43.75 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.3118, allocations: 4 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.456e-05/0.3118, allocations: 16 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.3119, allocations: 19.86 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.458e-05/0.3119, allocations: 65.44 kB / 1.062 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.3121, allocations: 127.9 kB / 1.062 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3121, allocations: 4 kB / 1.062 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3121, allocations: 0 / 1.062 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.3121, allocations: 0 / 1.062 GB, free: 2.543 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004774/0.3126, allocations: 408.9 kB / 1.062 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3126, allocations: 12.03 kB / 1.062 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.633e-05/0.3127, allocations: 16.84 kB / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.313, allocations: 218.3 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.313, allocations: 8.375 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.313, allocations: 8.375 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.3132, allocations: 84.69 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.3132, allocations: 8.172 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.3132, allocations: 7.938 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3132, allocations: 4 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.657e-05/0.3133, allocations: 27.92 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005227/0.3138, allocations: 0.536 MB / 1.063 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.757e-05/0.3139, allocations: 26.58 kB / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.522e-05/0.3139, allocations: 12.92 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.3139, allocations: 0 / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.3141, allocations: 63.38 kB / 1.063 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.3141, allocations: 0 / 1.063 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001962/0.3143, allocations: 89.53 kB / 1.063 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.3143, allocations: 51.41 kB / 1.063 GB, free: 0.7734 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Templates/Plants/Controls/Utilities/PlaceholderInteger.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) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.3145, allocations: 177.5 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.3146, allocations: 33.7 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.237e-05/0.3146, allocations: 108 kB / 1.064 GB, free: 452 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.171e-05/0.3146, allocations: 7.906 kB / 1.064 GB, free: 444 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.3147, allocations: 17.72 kB / 1.064 GB, free: 420 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3148, allocations: 322.8 kB / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.415e-05/0.3149, allocations: 35.98 kB / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.315, allocations: 54.56 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.3151, allocations: 92.2 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3151, allocations: 3.938 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002711/0.3154, allocations: 163.2 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.3155, allocations: 41.75 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.3155, allocations: 4 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3155, allocations: 4 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.804e-05/0.3155, allocations: 3.938 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.3156, allocations: 4 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.3158, allocations: 51.73 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.3158, allocations: 8 kB / 1.064 GB, free: 15.59 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: 5 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.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 8.806e-05/0.3159, allocations: 117.8 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.3159, allocations: 7.906 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.316, allocations: 16.92 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.316, allocations: 0 / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.316, allocations: 0 / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.316, allocations: 3.938 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.3161, allocations: 193.6 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.3162, allocations: 0 / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.664e-05/0.3162, allocations: 8.062 kB / 1.065 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3162, allocations: 0 / 1.065 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.3162, allocations: 0 / 1.065 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3162, allocations: 4 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3162, allocations: 0 / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.3163, allocations: 100.9 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.3164, allocations: 84.92 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.3164, allocations: 4.281 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.27e-05/0.3164, allocations: 4 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.3165, allocations: 7.922 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.3165, allocations: 4 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.712e-05/0.3166, allocations: 124 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3166, allocations: 0 / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002161/0.3168, allocations: 20 kB / 1.065 GB, free: 14.8 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: 4 ($whenCondition1,$whenCondition2,pul.y,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.0001394/0.317, allocations: 111.2 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000226/0.3172, allocations: 143.3 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3172, allocations: 0 / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.596e-05/0.3172, allocations: 16 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.3175, allocations: 19.92 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.3179, allocations: 243.8 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.3181, allocations: 0.6965 MB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.3182, allocations: 11.44 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3182, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.003049/0.3212, allocations: 1.435 MB / 1.068 GB, free: 12.07 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1)