Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.036/3.036, allocations: 287.5 MB / 302.4 MB, free: 8.246 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.001387/0.001387, allocations: 193.2 kB / 371 MB, free: 10.86 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.235/2.235, 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.0008978/0.0008977, allocations: 92.39 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000536/0.0005364, allocations: 12.42 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2363, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.00137/0.2377, allocations: 0.658 MB / 0.979 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.2399, allocations: 1.406 MB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.24, allocations: 4 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.776e-05/0.2401, allocations: 7.875 kB / 0.9804 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.2403, allocations: 39.69 kB / 0.9804 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.2418, allocations: 375.6 kB / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004666/0.2423, allocations: 387.1 kB / 0.9812 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.2425, allocations: 41.84 kB / 0.9812 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.2427, allocations: 139.6 kB / 0.9813 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.2429, allocations: 119.5 kB / 0.9815 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.558e-05/0.243, allocations: 16 kB / 0.9815 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.2432, allocations: 39.92 kB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.911e-05/0.2432, allocations: 31.84 kB / 0.9815 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.337e-05/0.2433, allocations: 65.64 kB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004267/0.2438, allocations: 375.2 kB / 0.982 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2438, allocations: 0 / 0.982 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.026e-06/0.2438, allocations: 0 / 0.982 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.2438, allocations: 0 / 0.982 GB, free: 24.67 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000743/0.2446, allocations: 0.5753 MB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.2446, allocations: 12.02 kB / 0.9825 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.2448, allocations: 35.67 kB / 0.9826 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.245, allocations: 209.8 kB / 0.9828 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.117e-05/0.245, allocations: 20 kB / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.513e-05/0.2451, allocations: 16 kB / 0.9828 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.2454, allocations: 121.1 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.2454, allocations: 3.938 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.2454, allocations: 4 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2454, allocations: 0 / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.2456, allocations: 55.94 kB / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.2468, allocations: 0.8834 MB / 0.9838 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.247, allocations: 118.4 kB / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.2471, allocations: 51.5 kB / 0.984 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.2471, allocations: 3.984 kB / 0.984 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003517/0.2475, allocations: 172.4 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 3.376e-06/0.2475, allocations: 4 kB / 0.9842 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0006553/0.2482, allocations: 226 kB / 0.9844 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.2482, allocations: 136.5 kB / 0.9845 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.2485, allocations: 240.8 kB / 0.9848 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.622e-05/0.2486, allocations: 37.7 kB / 0.9848 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.2488, allocations: 128.4 kB / 0.9849 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.2488, allocations: 39.59 kB / 0.985 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.18e-05/0.2489, allocations: 8 kB / 0.985 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.939e-05/0.249, allocations: 334.8 kB / 0.9853 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000467/0.2494, allocations: 140.2 kB / 0.9854 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005393/0.25, allocations: 222.6 kB / 0.9856 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004571/0.2505, allocations: 258.7 kB / 0.9859 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.2505, allocations: 0 / 0.9859 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001372/0.2519, allocations: 0.5546 MB / 0.9864 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.252, allocations: 138.8 kB / 0.9865 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.252, allocations: 7.938 kB / 0.9866 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.252, allocations: 4 kB / 0.9866 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.2522, allocations: 8 kB / 0.9866 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.2522, allocations: 11.92 kB / 0.9866 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.2535, allocations: 158.1 kB / 0.9867 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-05/0.2536, allocations: 31.97 kB / 0.9868 GB, free: 19.3 MB / 0.6198 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.y,$PRE.pul3.booPul.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,$PRE.pul1.booPul.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,$PRE.pul2.booPul.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,$PRE.pul.booPul.y,pul.booPul.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002673/0.2539, allocations: 157.8 kB / 0.9869 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.061e-05/0.2539, allocations: 23.7 kB / 0.9869 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.961e-05/0.254, allocations: 25.23 kB / 0.987 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.254, allocations: 0 / 0.987 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.2541, allocations: 4 kB / 0.987 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.2541, allocations: 3.938 kB / 0.987 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.2544, allocations: 265.5 kB / 0.9872 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.2544, allocations: 3.953 kB / 0.9872 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.001e-05/0.2545, allocations: 8 kB / 0.9872 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.2545, allocations: 0 / 0.9872 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.2545, allocations: 8 kB / 0.9872 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.2545, allocations: 7.984 kB / 0.9872 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2545, allocations: 3.938 kB / 0.9872 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.2549, allocations: 211.3 kB / 0.9874 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.055e-05/0.255, allocations: 104.9 kB / 0.9875 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.184e-05/0.2551, allocations: 0 / 0.9875 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.099e-05/0.2552, allocations: 12 kB / 0.9876 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.2552, allocations: 11.97 kB / 0.9876 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.2553, allocations: 12 kB / 0.9876 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001794/0.2555, allocations: 164.5 kB / 0.9877 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2555, allocations: 0 / 0.9877 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004981/0.256, allocations: 68 kB / 0.9878 GB, free: 18.13 MB / 0.6198 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 (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.0001723/0.2562, allocations: 112.1 kB / 0.9879 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009513/0.2571, allocations: 0.5209 MB / 0.9884 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2571, allocations: 0 / 0.9884 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.2573, allocations: 67.92 kB / 0.9885 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007427/0.2581, allocations: 60.88 kB / 0.9885 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008163/0.2589, allocations: 387.8 kB / 0.9889 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.2591, allocations: 0.7284 MB / 0.9896 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.939e-05/0.2592, allocations: 18.3 kB / 0.9896 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/0.2593, allocations: 19.44 kB / 0.9897 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of SimCode: time 1.483e-06/0.2593, allocations: 0 / 0.9897 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of Templates: time 0.01119/0.2705, allocations: 4.186 MB / 0.9937 GB, free: 11.98 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)