Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001602, allocations: 102.9 kB / 16.27 MB, free: 6.418 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.001578/0.001577, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.579/1.579, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.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.826/1.826, allocations: 292.3 MB / 0.5495 GB, free: 17.53 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.001569/0.001569, allocations: 71.89 kB / 0.6722 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3498, allocations: 114.6 MB / 0.7841 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002205/0.3521, allocations: 0.5448 MB / 0.7846 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 5.832e-05/0.3521, allocations: 0 / 0.7846 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.442e-05/0.3522, allocations: 0 / 0.7846 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.321e-05/0.3522, allocations: 0 / 0.7846 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.048e-05/0.3523, allocations: 0 / 0.7846 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 4.699e-05/0.3523, allocations: 0 / 0.7846 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.443e-05/0.3524, allocations: 8 kB / 0.7846 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.412e-05/0.3525, allocations: 3.984 kB / 0.7846 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.143e-05/0.3525, allocations: 4 kB / 0.7846 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.986e-05/0.3526, allocations: 0 / 0.7846 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.3526, allocations: 3.938 kB / 0.7846 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.191e-06/0.3526, allocations: 0 / 0.7846 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.3526, allocations: 0 / 0.7846 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.086e-05/0.3527, allocations: 4 kB / 0.7846 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.26e-05/0.3528, allocations: 3.984 kB / 0.7846 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.222e-05/0.3528, allocations: 0 / 0.7846 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.306e-06/0.3528, allocations: 3.938 kB / 0.7846 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.3528, allocations: 0 / 0.7846 GB, free: 3.273 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000446/0.3533, allocations: 315.6 kB / 0.7849 GB, free: 2.914 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3533, allocations: 8.031 kB / 0.7849 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.3533, allocations: 4.922 kB / 0.7849 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.3535, allocations: 164.4 kB / 0.7851 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.3535, allocations: 384 / 0.7851 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.3535, allocations: 384 / 0.7851 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.835e-05/0.3536, allocations: 26.27 kB / 0.7851 GB, free: 2.672 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3536, allocations: 192 / 0.7851 GB, free: 2.672 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.3537, allocations: 7.938 kB / 0.7851 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3537, allocations: 4 kB / 0.7851 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.718e-05/0.3537, allocations: 0 / 0.7851 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.3541, allocations: 383.5 kB / 0.7855 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.3543, allocations: 181 kB / 0.7857 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.777e-05/0.3544, allocations: 80.14 kB / 0.7857 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.3545, allocations: 83.22 kB / 0.7858 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.999e-05/0.3546, allocations: 109.9 kB / 0.7859 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.3546, allocations: 0 / 0.7859 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 8.78e-05/0.3547, allocations: 33.62 kB / 0.786 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/0.3548, allocations: 126.7 kB / 0.7861 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.3549, allocations: 97.86 kB / 0.7862 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.3549, allocations: 29.83 kB / 0.7862 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.355, allocations: 80.14 kB / 0.7863 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-06/0.355, allocations: 0 / 0.7863 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.355, allocations: 9.719 kB / 0.7863 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.3552, allocations: 314.8 kB / 0.7866 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.4e-06/0.3552, allocations: 0 / 0.7866 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.629e-06/0.3552, allocations: 0 / 0.7866 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.135e-05/0.3553, allocations: 75.28 kB / 0.7867 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.545e-05/0.3554, allocations: 79.28 kB / 0.7867 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.832e-05/0.3554, allocations: 45.47 kB / 0.7868 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/0.3555, allocations: 79.28 kB / 0.7868 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.332e-05/0.3555, allocations: 75.28 kB / 0.7869 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.051e-05/0.3556, allocations: 158.5 kB / 0.7871 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.3557, allocations: 79.28 kB / 0.7871 GB, free: 456 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.485e-05/0.3558, allocations: 150.6 kB / 0.7873 GB, free: 304 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.356, allocations: 83.22 kB / 0.7874 GB, free: 220 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/0.356, allocations: 79.27 kB / 0.7874 GB, free: 140 kB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.5303/0.8863, allocations: 260.8 kB / 0.7877 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.337e-05/0.8864, allocations: 107.3 kB / 0.7878 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.388e-05/0.8864, allocations: 110.9 kB / 0.7879 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.087e-05/0.8865, allocations: 184 kB / 0.7881 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.202e-05/0.8865, allocations: 179.4 kB / 0.7882 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.637e-05/0.8865, allocations: 180.8 kB / 0.7884 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.8867, allocations: 411.3 kB / 0.7888 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.92e-05/0.8868, allocations: 104.3 kB / 0.7889 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-05/0.8868, allocations: 111.2 kB / 0.789 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.733e-05/0.8868, allocations: 177 kB / 0.7892 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.301e-05/0.8869, allocations: 184.6 kB / 0.7894 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.628e-05/0.8869, allocations: 181.1 kB / 0.7895 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-05/0.887, allocations: 184.7 kB / 0.7897 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.8871, allocations: 308.4 kB / 0.79 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.106e-05/0.8871, allocations: 181.3 kB / 0.7902 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.8872, allocations: 180.5 kB / 0.7904 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-05/0.8873, allocations: 106.8 kB / 0.7905 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.8873, allocations: 184.6 kB / 0.7906 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.8874, allocations: 107.1 kB / 0.7907 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.681e-05/0.8874, allocations: 79.05 kB / 0.7908 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8874, allocations: 0 / 0.7908 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003514/0.8878, allocations: 0.9062 kB / 0.7908 GB, free: 45.16 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001133/0.8879, allocations: 175.9 kB / 0.791 GB, free: 45 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 5.718e-05/0.8879, allocations: 6.5 kB / 0.791 GB, free: 45 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.888, allocations: 0.6562 kB / 0.791 GB, free: 45 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.715e-06/0.888, allocations: 2.531 kB / 0.791 GB, free: 45 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.8883, allocations: 466 kB / 0.7914 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002047/0.8885, allocations: 171.4 kB / 0.7916 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.8886, allocations: 0.6739 MB / 0.7923 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.642e-05/0.8886, allocations: 7.438 kB / 0.7923 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.8886, allocations: 0.5 kB / 0.7923 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.001508/0.8902, allocations: 329 kB / 0.7926 GB, free: 43.66 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)