Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_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_8_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.001103/0.001104, 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.002532/0.002533, allocations: 196.5 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.821/1.821, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 70.02 kB / 0.6715 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2955, allocations: 114.5 MB / 0.7834 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002829/0.2984, allocations: 0.9814 MB / 0.7843 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00187/0.3003, allocations: 1.426 MB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.961e-05/0.3003, allocations: 0 / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.957e-05/0.3004, allocations: 19.73 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.3006, allocations: 55.56 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.3017, allocations: 435.2 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005423/0.3022, allocations: 0.5069 MB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.3024, allocations: 49.66 kB / 0.7868 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.3026, allocations: 183.6 kB / 0.7869 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.3028, allocations: 135.5 kB / 0.7871 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.796e-05/0.3029, allocations: 52 kB / 0.7871 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.303, allocations: 67.92 kB / 0.7872 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.3031, allocations: 43.83 kB / 0.7872 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.3033, allocations: 167.4 kB / 0.7874 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004671/0.3038, allocations: 494.9 kB / 0.7879 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3038, allocations: 0 / 0.7879 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3038, allocations: 0 / 0.7879 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.3038, allocations: 0 / 0.7879 GB, free: 8.855 MB / 0.6075 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.0008202/0.3046, allocations: 0.6339 MB / 0.7885 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3047, allocations: 12.03 kB / 0.7885 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.696e-05/0.3048, allocations: 24.75 kB / 0.7885 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.305, allocations: 222.9 kB / 0.7887 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.168e-05/0.305, allocations: 20.38 kB / 0.7887 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.658e-05/0.3051, allocations: 28.36 kB / 0.7888 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.3053, allocations: 117.5 kB / 0.7889 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3054, allocations: 4.188 kB / 0.7889 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.3054, allocations: 7.938 kB / 0.7889 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3054, allocations: 4 kB / 0.7889 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.3055, allocations: 51.91 kB / 0.7889 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009978/0.3065, allocations: 0.8796 MB / 0.7898 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.3067, allocations: 114.4 kB / 0.7899 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.427e-05/0.3068, allocations: 59.42 kB / 0.79 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.3068, allocations: 4 kB / 0.79 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003748/0.3072, allocations: 176.8 kB / 0.7901 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/0.3072, allocations: 4 kB / 0.7901 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0004941/0.3077, allocations: 221.4 kB / 0.7904 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.237e-05/0.3078, allocations: 136.4 kB / 0.7905 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.3081, allocations: 244.9 kB / 0.7907 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.163e-05/0.3081, allocations: 37.7 kB / 0.7908 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.3083, allocations: 136.4 kB / 0.7909 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.3083, allocations: 27.61 kB / 0.7909 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.3085, allocations: 93.66 kB / 0.791 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3087, allocations: 338.8 kB / 0.7913 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.309, allocations: 144.2 kB / 0.7915 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/0.3093, allocations: 218.7 kB / 0.7917 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004516/0.3098, allocations: 376.9 kB / 0.792 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.3098, allocations: 0 / 0.792 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009942/0.3108, allocations: 0.5467 MB / 0.7926 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.3109, allocations: 139.6 kB / 0.7927 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.3109, allocations: 0 / 0.7927 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.311, allocations: 4.25 kB / 0.7927 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.3111, allocations: 23.94 kB / 0.7927 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.3111, allocations: 7.984 kB / 0.7927 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007222/0.3118, allocations: 115.6 kB / 0.7928 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.829e-05/0.3119, allocations: 27.97 kB / 0.7929 GB, free: 3.223 MB / 0.6075 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.0002197/0.3121, allocations: 158.1 kB / 0.793 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.3122, allocations: 19.72 kB / 0.793 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.27e-05/0.3122, allocations: 25.23 kB / 0.7931 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3122, allocations: 0 / 0.7931 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.3123, allocations: 8 kB / 0.7931 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.3123, allocations: 3.938 kB / 0.7931 GB, free: 3 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.3126, allocations: 261.5 kB / 0.7933 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3126, allocations: 4 kB / 0.7933 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.882e-05/0.3126, allocations: 11.94 kB / 0.7933 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3126, allocations: 0 / 0.7933 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.3127, allocations: 7.984 kB / 0.7933 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3127, allocations: 4 kB / 0.7934 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3127, allocations: 0 / 0.7934 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.313, allocations: 219.3 kB / 0.7936 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.942e-05/0.3131, allocations: 96.91 kB / 0.7937 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.3131, allocations: 8.938 kB / 0.7937 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.694e-05/0.3132, allocations: 0 / 0.7937 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.3132, allocations: 27.84 kB / 0.7937 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.3133, allocations: 4 kB / 0.7937 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001656/0.3134, allocations: 172.5 kB / 0.7939 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3134, allocations: 0 / 0.7939 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003401/0.3138, allocations: 71.91 kB / 0.7939 GB, free: 2.035 MB / 0.6075 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.0002053/0.314, allocations: 108.4 kB / 0.794 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007947/0.3148, allocations: 0.5367 MB / 0.7946 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3148, allocations: 0 / 0.7946 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.3149, allocations: 72.77 kB / 0.7946 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.3154, allocations: 64.27 kB / 0.7947 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006161/0.316, allocations: 357.4 kB / 0.795 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.3163, allocations: 0.7242 MB / 0.7957 GB, free: 68 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.251e-05/0.3164, allocations: 21.55 kB / 0.7958 GB, free: 48 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.3165, allocations: 19.44 kB / 0.7958 GB, free: 32 kB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3165, allocations: 0 / 0.7958 GB, free: 32 kB / 0.6075 GB Notification: Performance of Templates: time 0.009039/0.3255, allocations: 4.571 MB / 0.8002 GB, free: 11.53 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)