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.0009688/0.000969, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.001039/0.001039, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.643/1.643, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005383/0.0005386, allocations: 12.56 kB / 0.6737 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2452, allocations: 116.3 MB / 0.7873 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001265/0.2465, allocations: 0.6582 MB / 0.7879 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.2482, allocations: 1.41 MB / 0.7893 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.527e-05/0.2483, allocations: 4 kB / 0.7893 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.613e-05/0.2483, allocations: 7.875 kB / 0.7893 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.2485, allocations: 39.64 kB / 0.7894 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009347/0.2494, allocations: 375.5 kB / 0.7897 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003231/0.2497, allocations: 395 kB / 0.7901 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.2499, allocations: 33.84 kB / 0.7901 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.25, allocations: 151.5 kB / 0.7903 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.2502, allocations: 119.5 kB / 0.7904 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.146e-05/0.2502, allocations: 16 kB / 0.7904 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.825e-05/0.2503, allocations: 31.98 kB / 0.7904 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.111e-05/0.2504, allocations: 27.84 kB / 0.7905 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.2e-05/0.2505, allocations: 73.58 kB / 0.7905 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.2508, allocations: 371.3 kB / 0.7909 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2508, allocations: 0 / 0.7909 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2508, allocations: 0 / 0.7909 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.2508, allocations: 4 kB / 0.7909 GB, free: 8.207 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.0006125/0.2514, allocations: 0.5676 MB / 0.7915 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.2515, allocations: 12.03 kB / 0.7915 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.951e-05/0.2516, allocations: 35.67 kB / 0.7915 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.2517, allocations: 213.9 kB / 0.7917 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.2518, allocations: 11.94 kB / 0.7917 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.873e-05/0.2518, allocations: 24 kB / 0.7917 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.252, allocations: 120.3 kB / 0.7918 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.252, allocations: 0 / 0.7918 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.2521, allocations: 4 kB / 0.7919 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.2521, allocations: 4 kB / 0.7919 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.2522, allocations: 55.91 kB / 0.7919 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008296/0.253, allocations: 0.8834 MB / 0.7928 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.2532, allocations: 114.4 kB / 0.7929 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.271e-05/0.2532, allocations: 55.42 kB / 0.7929 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.2533, allocations: 3.953 kB / 0.7929 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002269/0.2535, allocations: 182.5 kB / 0.7931 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.2535, allocations: 0 / 0.7931 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0004444/0.2539, allocations: 221.3 kB / 0.7933 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.2541, allocations: 136.5 kB / 0.7935 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.2544, allocations: 240.9 kB / 0.7937 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.507e-05/0.2544, allocations: 37.7 kB / 0.7937 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.997e-05/0.2545, allocations: 128.5 kB / 0.7938 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.2546, allocations: 39.61 kB / 0.7939 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.2546, allocations: 4 kB / 0.7939 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.2547, allocations: 334.8 kB / 0.7942 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.255, allocations: 144.2 kB / 0.7943 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002948/0.2553, allocations: 226.6 kB / 0.7946 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.2556, allocations: 246.8 kB / 0.7948 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2556, allocations: 0 / 0.7948 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008132/0.2564, allocations: 0.5622 MB / 0.7953 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.888e-05/0.2565, allocations: 134.8 kB / 0.7955 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.2565, allocations: 4 kB / 0.7955 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.2566, allocations: 7.938 kB / 0.7955 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.558e-05/0.2566, allocations: 15.92 kB / 0.7955 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.2567, allocations: 4 kB / 0.7955 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006474/0.2573, allocations: 162.8 kB / 0.7957 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.902e-05/0.2574, allocations: 23.98 kB / 0.7957 GB, free: 2.859 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.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.0001546/0.2575, allocations: 162.4 kB / 0.7958 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.2576, allocations: 27.61 kB / 0.7959 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.448e-05/0.2576, allocations: 21.23 kB / 0.7959 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.2576, allocations: 4 kB / 0.7959 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2576, allocations: 0 / 0.7959 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2576, allocations: 4 kB / 0.7959 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.2579, allocations: 253.5 kB / 0.7961 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2579, allocations: 4 kB / 0.7961 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.33e-05/0.258, allocations: 19.92 kB / 0.7962 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.258, allocations: 3.953 kB / 0.7962 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.258, allocations: 4 kB / 0.7962 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.258, allocations: 0 / 0.7962 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.258, allocations: 4 kB / 0.7962 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.2583, allocations: 220.2 kB / 0.7964 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.2584, allocations: 92.92 kB / 0.7965 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.2585, allocations: 11.94 kB / 0.7965 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.758e-05/0.2585, allocations: 4 kB / 0.7965 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.2586, allocations: 11.98 kB / 0.7965 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.2586, allocations: 12 kB / 0.7965 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001408/0.2587, allocations: 164.5 kB / 0.7967 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2588, allocations: 0 / 0.7967 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003136/0.2591, allocations: 68 kB / 0.7967 GB, free: 1.684 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 (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.0002153/0.2593, allocations: 111.5 kB / 0.7968 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006561/0.26, allocations: 0.5287 MB / 0.7973 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.26, allocations: 0 / 0.7973 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.2601, allocations: 75.89 kB / 0.7974 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.2605, allocations: 60.83 kB / 0.7975 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005841/0.2611, allocations: 387.3 kB / 0.7978 GB, free: 452 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.2614, allocations: 0.7323 MB / 0.7986 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.569e-05/0.2615, allocations: 21.55 kB / 0.7986 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.291e-05/0.2615, allocations: 15.44 kB / 0.7986 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.2615, allocations: 0 / 0.7986 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of Templates: time 0.007282/0.2688, allocations: 4.178 MB / 0.8027 GB, free: 11.54 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: