Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.808/2.808, allocations: 287.5 MB / 302.4 MB, free: 8.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00144/0.00144, allocations: 183.8 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.482/2.482, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009278/0.0009271, allocations: 82.38 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006666/0.0006669, allocations: 13.38 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2384, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001453/0.2399, allocations: 0.8489 MB / 0.9792 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003314/0.2433, allocations: 2.143 MB / 0.9813 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.2435, allocations: 0 / 0.9813 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.906e-05/0.2436, allocations: 15.86 kB / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.2439, allocations: 71.39 kB / 0.9814 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004638/0.2485, allocations: 1.277 MB / 0.9826 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001542/0.2501, allocations: 0.9355 MB / 0.9835 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.2502, allocations: 16.75 kB / 0.9836 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007959/0.251, allocations: 427.2 kB / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004531/0.2515, allocations: 331 kB / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002762/0.2518, allocations: 60 kB / 0.9843 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003554/0.2522, allocations: 67.98 kB / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.205e-05/0.2522, allocations: 55.81 kB / 0.9845 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002418/0.2525, allocations: 125.6 kB / 0.9846 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008544/0.2534, allocations: 0.6625 MB / 0.9852 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/0.2534, allocations: 0 / 0.9852 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.146e-06/0.2534, allocations: 0 / 0.9852 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.535e-05/0.2534, allocations: 4 kB / 0.9852 GB, free: 21.36 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001284/0.2547, allocations: 0.9962 MB / 0.9862 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.2548, allocations: 16.03 kB / 0.9862 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003511/0.2551, allocations: 63.62 kB / 0.9863 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.2553, allocations: 211.2 kB / 0.9865 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.024e-05/0.2554, allocations: 35.98 kB / 0.9865 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000253/0.2557, allocations: 71.98 kB / 0.9866 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003563/0.2561, allocations: 210.3 kB / 0.9868 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.2561, allocations: 0 / 0.9868 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.2561, allocations: 7.984 kB / 0.9868 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.567e-06/0.2561, allocations: 4 kB / 0.9868 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.2563, allocations: 71.78 kB / 0.9869 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.2576, allocations: 0.8521 MB / 0.9877 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003821/0.258, allocations: 323.3 kB / 0.988 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.2582, allocations: 140.8 kB / 0.9881 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.2582, allocations: 8 kB / 0.9882 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007774/0.259, allocations: 459 kB / 0.9886 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 3.186e-06/0.259, allocations: 0 / 0.9886 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.001716/0.2607, allocations: 0.5614 MB / 0.9891 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/0.2609, allocations: 435.2 kB / 0.9896 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.2613, allocations: 288.3 kB / 0.9898 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0003211/0.2616, allocations: 73.69 kB / 0.9899 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.2619, allocations: 161.3 kB / 0.9901 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.262, allocations: 90.8 kB / 0.9901 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.2622, allocations: 43.98 kB / 0.9902 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.2623, allocations: 358.7 kB / 0.9905 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.2637, allocations: 421.3 kB / 0.9909 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/0.2652, allocations: 0.695 MB / 0.9916 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.2667, allocations: 0.826 MB / 0.9924 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.2668, allocations: 4 kB / 0.9924 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004407/0.2712, allocations: 1.708 MB / 0.9941 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002696/0.2715, allocations: 489.4 kB / 0.9945 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/0.2716, allocations: 12 kB / 0.9946 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.676e-05/0.2716, allocations: 12.97 kB / 0.9946 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.681e-05/0.2717, allocations: 27.86 kB / 0.9946 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-05/0.2718, allocations: 23.92 kB / 0.9946 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004782/0.2765, allocations: 0.5655 MB / 0.9952 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004682/0.2771, allocations: 103.9 kB / 0.9953 GB, free: 9.953 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004799/0.2776, allocations: 221.5 kB / 0.9955 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.2777, allocations: 39.53 kB / 0.9955 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.2779, allocations: 42.14 kB / 0.9956 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.2779, allocations: 8 kB / 0.9956 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/0.2779, allocations: 4 kB / 0.9956 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.2779, allocations: 7.984 kB / 0.9956 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004549/0.2784, allocations: 337.3 kB / 0.9959 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.2784, allocations: 0 / 0.9959 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.09e-05/0.2785, allocations: 19.92 kB / 0.9959 GB, free: 9.219 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/0.2785, allocations: 8 kB / 0.9959 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-05/0.2785, allocations: 15.98 kB / 0.9959 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.046e-05/0.2786, allocations: 7.938 kB / 0.996 GB, free: 9.188 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.2786, allocations: 7.984 kB / 0.996 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009026/0.2795, allocations: 0.5276 MB / 0.9965 GB, free: 8.594 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-05/0.2796, allocations: 104.7 kB / 0.9966 GB, free: 8.473 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-05/0.2797, allocations: 19.98 kB / 0.9966 GB, free: 8.453 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.2799, allocations: 15.98 kB / 0.9966 GB, free: 8.438 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.28, allocations: 63.83 kB / 0.9967 GB, free: 8.375 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.275e-05/0.2801, allocations: 27.98 kB / 0.9967 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002218/0.2803, allocations: 183.1 kB / 0.9969 GB, free: 8.168 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2804, allocations: 3.938 kB / 0.9969 GB, free: 8.164 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001402/0.2818, allocations: 200 kB / 0.9971 GB, free: 7.969 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002698/0.2821, allocations: 140.6 kB / 0.9972 GB, free: 7.824 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003178/0.2853, allocations: 1.746 MB / 0.9989 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.2854, allocations: 0 / 0.9989 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005472/0.2859, allocations: 184.8 kB / 0.9991 GB, free: 5.715 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.2871, allocations: 121.2 kB / 0.9992 GB, free: 5.594 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.2886, allocations: 0.6829 MB / 0.9999 GB, free: 4.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.2889, allocations: 0.78 MB / 1.001 GB, free: 4.035 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000217/0.2891, allocations: 46.97 kB / 1.001 GB, free: 3.992 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.393e-05/0.2892, allocations: 39.42 kB / 1.001 GB, free: 3.957 MB / 0.6198 GB Notification: Performance of SimCode: time 1.282e-06/0.2892, allocations: 0 / 1.001 GB, free: 3.957 MB / 0.6198 GB Notification: Performance of Templates: time 0.02758/0.3168, allocations: 10.87 MB / 1.011 GB, free: 9.211 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)