Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001394, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001759/0.001759, allocations: 193.4 kB / 16.14 MB, free: 6.688 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.575/1.575, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.192/3.192, allocations: 472.6 MB / 0.7447 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001355, allocations: 63.28 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4678/0.4692, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002404/0.4716, allocations: 1.013 MB / 1.069 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002123/0.4738, allocations: 1.502 MB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.267e-05/0.4739, allocations: 0 / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.531e-05/0.4739, allocations: 11.86 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.4741, allocations: 39.72 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009443/0.475, allocations: 419.8 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003646/0.4754, allocations: 427.1 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.4755, allocations: 49.64 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.4757, allocations: 147.5 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.4759, allocations: 123.5 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.334e-05/0.476, allocations: 20 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.4761, allocations: 35.98 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.438e-05/0.4761, allocations: 35.78 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.4763, allocations: 139.4 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004571/0.4768, allocations: 471 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4768, allocations: 0 / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.404e-06/0.4768, allocations: 0 / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.4768, allocations: 3.938 kB / 1.072 GB, free: 6.535 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008905/0.4777, allocations: 0.6379 MB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.4778, allocations: 12.03 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.4779, allocations: 28.73 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.4781, allocations: 211 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.4781, allocations: 16.38 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.005e-05/0.4782, allocations: 24.38 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.4784, allocations: 121.6 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.4784, allocations: 192 / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.4785, allocations: 15.86 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.4785, allocations: 4 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.4786, allocations: 51.92 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.4796, allocations: 0.8756 MB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.4798, allocations: 122.4 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.215e-05/0.4799, allocations: 47.5 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.4799, allocations: 4 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002683/0.4802, allocations: 184.4 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.42e-05/0.4802, allocations: 0 / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0004792/0.4807, allocations: 226 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.4808, allocations: 140.4 kB / 1.074 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.4811, allocations: 240.9 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.331e-05/0.4811, allocations: 45.69 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.4813, allocations: 128.5 kB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.4813, allocations: 27.61 kB / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.4815, allocations: 97.64 kB / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4816, allocations: 334.8 kB / 1.075 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.482, allocations: 144.2 kB / 1.075 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00035/0.4823, allocations: 226.7 kB / 1.076 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004401/0.4828, allocations: 364.9 kB / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4828, allocations: 0 / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009043/0.4837, allocations: 0.5584 MB / 1.077 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.4838, allocations: 140 kB / 1.077 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.4838, allocations: 7.938 kB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.4838, allocations: 0 / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.833e-05/0.4839, allocations: 15.94 kB / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.4839, allocations: 4 kB / 1.077 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006577/0.4846, allocations: 123.8 kB / 1.077 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-05/0.4847, allocations: 27.97 kB / 1.077 GB, free: 0.8984 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$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 (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001585/0.4848, allocations: 149.7 kB / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.4849, allocations: 19.72 kB / 1.077 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.4849, allocations: 29.23 kB / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.4849, allocations: 0 / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.485, allocations: 4 kB / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.485, allocations: 3.938 kB / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.4852, allocations: 257.5 kB / 1.077 GB, free: 388 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4852, allocations: 0 / 1.077 GB, free: 388 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.733e-05/0.4853, allocations: 11.98 kB / 1.077 GB, free: 376 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4853, allocations: 0 / 1.077 GB, free: 376 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.4853, allocations: 8 kB / 1.077 GB, free: 368 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.4853, allocations: 4 kB / 1.077 GB, free: 364 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4853, allocations: 3.938 kB / 1.077 GB, free: 360 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.4856, allocations: 219.2 kB / 1.078 GB, free: 112 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.4857, allocations: 96.97 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.4857, allocations: 7.938 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.858e-05/0.4858, allocations: 0 / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/0.4858, allocations: 23.92 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.4859, allocations: 7.984 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000143/0.486, allocations: 168.5 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.486, allocations: 3.938 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003232/0.4863, allocations: 71.98 kB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$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 (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001607/0.4865, allocations: 103.2 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007406/0.4873, allocations: 0.531 MB / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4873, allocations: 0 / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.4874, allocations: 68.66 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.4879, allocations: 66.53 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006681/0.4885, allocations: 392.7 kB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.4889, allocations: 0.7284 MB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.503e-05/0.4889, allocations: 21.53 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.489, allocations: 23.44 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.489, allocations: 0 / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of Templates: time 0.008004/0.497, allocations: 4.355 MB / 1.084 GB, free: 9.395 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)