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.001365/0.001365, 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.001725/0.001725, allocations: 195.7 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.471/1.471, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.984/2.984, allocations: 472.6 MB / 0.7451 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.34 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3671, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002194/0.3694, allocations: 0.7238 MB / 1.069 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.3708, allocations: 1.133 MB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.995e-05/0.3709, allocations: 4 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.355e-05/0.3709, allocations: 7.938 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.882e-05/0.3711, allocations: 11.86 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004703/0.3715, allocations: 130.8 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.3717, allocations: 127.8 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3718, allocations: 8 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.548e-05/0.3719, allocations: 55.89 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.042e-05/0.372, allocations: 31.84 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.372, allocations: 12 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.82e-05/0.3721, allocations: 35.92 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.3721, allocations: 7.984 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.532e-05/0.3722, allocations: 43.84 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.3724, allocations: 127.7 kB / 1.071 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3724, allocations: 0 / 1.071 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.705e-06/0.3724, allocations: 0 / 1.071 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.3725, allocations: 0 / 1.071 GB, free: 8.008 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.0005343/0.373, allocations: 405.2 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.373, allocations: 12.03 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/0.3731, allocations: 4.938 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.3732, allocations: 172.2 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.3733, allocations: 4.375 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.3733, allocations: 8.375 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.3734, allocations: 46.19 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.3734, allocations: 192 / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.3734, allocations: 7.922 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.3734, allocations: 3.938 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.048e-05/0.3735, allocations: 16 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.3739, allocations: 336.7 kB / 1.072 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.639e-05/0.374, allocations: 34.45 kB / 1.072 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.692e-05/0.374, allocations: 16.91 kB / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.713e-06/0.374, allocations: 0 / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.3742, allocations: 63.39 kB / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3742, allocations: 0 / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001969/0.3744, allocations: 73.62 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.3745, allocations: 51.41 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.3746, allocations: 133.7 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.3746, allocations: 25.7 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.3747, allocations: 88.14 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.3747, allocations: 11.91 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.3748, allocations: 37.69 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.3749, allocations: 314.8 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.284e-05/0.375, allocations: 35.98 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.3751, allocations: 62.53 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.3752, allocations: 96.16 kB / 1.073 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3752, allocations: 0 / 1.073 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003363/0.3756, allocations: 163.2 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.3756, allocations: 37.7 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3756, allocations: 0 / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3757, allocations: 4.234 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.53e-05/0.3757, allocations: 0 / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3757, allocations: 3.938 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.3759, allocations: 36.02 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.376, allocations: 4 kB / 1.073 GB, free: 5.477 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 8.761e-05/0.3761, allocations: 122.3 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.3761, allocations: 7.906 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.3761, allocations: 11.89 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3761, allocations: 3.938 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.3761, allocations: 4 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3761, allocations: 0 / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.3763, allocations: 169.6 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3763, allocations: 4 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.848e-05/0.3763, allocations: 11.92 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.3763, allocations: 0 / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.3763, allocations: 4.062 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.378e-05/0.3763, allocations: 0 / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3763, allocations: 0 / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.3765, allocations: 89.06 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.3765, allocations: 85 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.3765, allocations: 8 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.971e-05/0.3766, allocations: 4 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.3766, allocations: 0 / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.3766, allocations: 4 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.541e-05/0.3767, allocations: 95.64 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3767, allocations: 4 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002103/0.3769, allocations: 20 kB / 1.073 GB, free: 4.738 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.0001762/0.3771, allocations: 107.2 kB / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.3773, allocations: 139.4 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3773, allocations: 0 / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.754e-05/0.3774, allocations: 19.94 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.3776, allocations: 20.25 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.378, allocations: 146.1 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.3784, allocations: 0.6807 MB / 1.074 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.777e-05/0.3784, allocations: 11.92 kB / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.3784, allocations: 7.438 kB / 1.075 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3784, allocations: 4 kB / 1.075 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of Templates: time 0.004545/0.383, allocations: 1.353 MB / 1.076 GB, free: 2.207 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)