Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001316, 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.001699/0.001699, allocations: 197.9 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.77/1.77, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.176/3.176, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 68.59 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.4164, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.00313/0.4196, allocations: 0.793 MB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001975/0.4216, allocations: 1.147 MB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.581e-05/0.4217, allocations: 0 / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.804e-05/0.4217, allocations: 0 / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.921e-05/0.4219, allocations: 15.88 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.4223, allocations: 111.2 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.4225, allocations: 115.7 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.4226, allocations: 8 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.316e-05/0.4227, allocations: 39.91 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.586e-05/0.4228, allocations: 27.84 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.4228, allocations: 4 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.762e-05/0.4229, allocations: 23.97 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/0.4229, allocations: 8 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.136e-05/0.423, allocations: 43.78 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.4232, allocations: 123.6 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4232, allocations: 0 / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.21e-07/0.4232, allocations: 0 / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.4232, allocations: 0 / 1.07 GB, free: 8.434 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005549/0.4238, allocations: 397.3 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.4238, allocations: 12.03 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.4239, allocations: 4.938 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.4241, allocations: 176.3 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.4241, allocations: 4.375 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.4241, allocations: 8.375 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.4243, allocations: 46.25 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.4243, allocations: 192 / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.4243, allocations: 3.938 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.4243, allocations: 4 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.114e-05/0.4244, allocations: 19.92 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.4248, allocations: 336.7 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.655e-05/0.4249, allocations: 38.52 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.426e-05/0.425, allocations: 8.922 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.425, allocations: 0 / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.4252, allocations: 67.33 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.4252, allocations: 0 / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002473/0.4254, allocations: 73.67 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.4255, allocations: 55.41 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.4256, allocations: 129.8 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.4257, allocations: 29.69 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.218e-05/0.4257, allocations: 92.08 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.4258, allocations: 7.906 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.479e-05/0.4258, allocations: 29.7 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.426, allocations: 318.8 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.359e-05/0.4261, allocations: 43.86 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.14e-05/0.4262, allocations: 58.56 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.4263, allocations: 92.2 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4263, allocations: 0 / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003555/0.4267, allocations: 163.2 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.94e-05/0.4267, allocations: 37.69 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.4267, allocations: 64 / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.4268, allocations: 11.94 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.284e-05/0.4268, allocations: 0 / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.4268, allocations: 4 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.4271, allocations: 27.97 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.4271, allocations: 7.984 kB / 1.072 GB, free: 5.902 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,pulse.booPul.y,$PRE.pulse.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 0.0001005/0.4272, allocations: 117.8 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.4272, allocations: 7.906 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/0.4273, allocations: 7.906 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4273, allocations: 4.062 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.4273, allocations: 4 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.4273, allocations: 0 / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.4274, allocations: 177.6 kB / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.4274, allocations: 0 / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.595e-05/0.4275, allocations: 4 kB / 1.072 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4275, allocations: 0 / 1.072 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.4275, allocations: 0 / 1.072 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.4275, allocations: 0 / 1.072 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.4275, allocations: 3.984 kB / 1.072 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.4276, allocations: 97 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-05/0.4277, allocations: 81.02 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.4277, allocations: 4 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.812e-05/0.4277, allocations: 0 / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.4278, allocations: 3.984 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.4278, allocations: 4 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.379e-05/0.4279, allocations: 103.6 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.635e-06/0.4279, allocations: 7.938 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002146/0.4281, allocations: 19.94 kB / 1.073 GB, free: 5.164 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,pulse.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.0002178/0.4283, allocations: 107.2 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002466/0.4286, allocations: 139.6 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4286, allocations: 0 / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.643e-05/0.4286, allocations: 16.09 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.4289, allocations: 31.27 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.4292, allocations: 151.8 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.4295, allocations: 0.6809 MB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.663e-05/0.4296, allocations: 4 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.876e-05/0.4296, allocations: 15.44 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.4296, allocations: 0 / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of Templates: time 0.004286/0.4339, allocations: 1.285 MB / 1.075 GB, free: 2.691 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1)