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.001169/0.001169, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009392/0.009392, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.85/1.85, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.82/1.82, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.000526/0.0005262, allocations: 16.86 kB / 0.6743 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3182, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001378/0.3196, allocations: 0.6773 MB / 0.7886 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002341/0.322, allocations: 1.492 MB / 0.79 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.438e-05/0.3221, allocations: 4 kB / 0.79 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.568e-05/0.3221, allocations: 7.875 kB / 0.79 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.3223, allocations: 47.62 kB / 0.7901 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.3234, allocations: 402 kB / 0.7905 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004522/0.3238, allocations: 427 kB / 0.7909 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.324, allocations: 49.64 kB / 0.7909 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.3242, allocations: 143.6 kB / 0.7911 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.3244, allocations: 127.4 kB / 0.7912 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.124e-05/0.3245, allocations: 23.98 kB / 0.7912 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.911e-05/0.3246, allocations: 31.98 kB / 0.7912 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.7e-05/0.3246, allocations: 23.91 kB / 0.7913 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.3248, allocations: 161 kB / 0.7914 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004468/0.3252, allocations: 458.8 kB / 0.7918 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.3252, allocations: 4 kB / 0.7918 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.965e-06/0.3253, allocations: 0 / 0.7918 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3253, allocations: 0 / 0.7918 GB, free: 7.508 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.0007442/0.326, allocations: 0.5678 MB / 0.7924 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3261, allocations: 12.03 kB / 0.7924 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.385e-05/0.3262, allocations: 32.66 kB / 0.7924 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.3264, allocations: 219 kB / 0.7927 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.3264, allocations: 8.375 kB / 0.7927 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.013e-05/0.3265, allocations: 32.3 kB / 0.7927 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.3267, allocations: 117.6 kB / 0.7928 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3267, allocations: 192 / 0.7928 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.3268, allocations: 11.94 kB / 0.7928 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3268, allocations: 3.938 kB / 0.7928 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.3269, allocations: 59.91 kB / 0.7929 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009877/0.3279, allocations: 0.8717 MB / 0.7937 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.3281, allocations: 118.4 kB / 0.7938 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.342e-05/0.3281, allocations: 55.42 kB / 0.7939 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.3282, allocations: 0 / 0.7939 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002799/0.3284, allocations: 178.7 kB / 0.7941 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.3285, allocations: 0 / 0.7941 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0004721/0.3289, allocations: 226 kB / 0.7943 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.511e-05/0.329, allocations: 140.5 kB / 0.7944 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.3293, allocations: 244.8 kB / 0.7946 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.613e-05/0.3294, allocations: 37.7 kB / 0.7947 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.3295, allocations: 124.5 kB / 0.7948 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.3295, allocations: 43.59 kB / 0.7948 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-05/0.3296, allocations: 37.7 kB / 0.7949 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3298, allocations: 334.8 kB / 0.7952 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.33, allocations: 144.2 kB / 0.7953 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.3304, allocations: 222.7 kB / 0.7955 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.3308, allocations: 364.9 kB / 0.7959 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3308, allocations: 0 / 0.7959 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008601/0.3316, allocations: 0.5545 MB / 0.7964 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.385e-05/0.3317, allocations: 139 kB / 0.7966 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.3318, allocations: 8 kB / 0.7966 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.3318, allocations: 7.938 kB / 0.7966 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.64e-05/0.3319, allocations: 11.94 kB / 0.7966 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.3319, allocations: 7.984 kB / 0.7966 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007412/0.3326, allocations: 158.5 kB / 0.7968 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-05/0.3327, allocations: 31.97 kB / 0.7968 GB, free: 1.953 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.0001616/0.3329, allocations: 149.5 kB / 0.7969 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.3329, allocations: 20 kB / 0.7969 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.169e-05/0.333, allocations: 29.22 kB / 0.797 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.333, allocations: 4 kB / 0.797 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.333, allocations: 0 / 0.797 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.333, allocations: 7.938 kB / 0.797 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.3333, allocations: 261.4 kB / 0.7972 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.3333, allocations: 4 kB / 0.7972 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.603e-05/0.3333, allocations: 11.94 kB / 0.7972 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3333, allocations: 0 / 0.7972 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.3333, allocations: 8 kB / 0.7973 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3334, allocations: 3.984 kB / 0.7973 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3334, allocations: 4 kB / 0.7973 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.3336, allocations: 214.5 kB / 0.7975 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.998e-05/0.3337, allocations: 104.8 kB / 0.7976 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.3338, allocations: 3.938 kB / 0.7976 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.991e-05/0.3338, allocations: 4 kB / 0.7976 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.3339, allocations: 23.91 kB / 0.7976 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.3339, allocations: 8 kB / 0.7976 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001506/0.334, allocations: 168.5 kB / 0.7978 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3341, allocations: 0 / 0.7978 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000321/0.3344, allocations: 68 kB / 0.7978 GB, free: 0.7734 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.000191/0.3346, allocations: 115.5 kB / 0.7979 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006692/0.3352, allocations: 0.5286 MB / 0.7985 GB, free: 76 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3353, allocations: 3.938 kB / 0.7985 GB, free: 72 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.233e-05/0.3354, allocations: 67.92 kB / 0.7985 GB, free: 4 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.3358, allocations: 68.81 kB / 0.7986 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005819/0.3364, allocations: 391.4 kB / 0.799 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.3367, allocations: 0.7361 MB / 0.7997 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.637e-05/0.3368, allocations: 18.3 kB / 0.7997 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.3368, allocations: 19.44 kB / 0.7997 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of SimCode: time 3.51e-07/0.3368, allocations: 0 / 0.7997 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of Templates: time 0.007263/0.3441, allocations: 4.338 MB / 0.804 GB, free: 10.45 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: