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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.796/1.796, allocations: 292.3 MB / 308.1 MB, free: 4.285 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.001565/0.001566, allocations: 192.5 kB / 376.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.832/1.832, allocations: 205.1 MB / 0.6354 GB, free: 9.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001444/0.001444, allocations: 104 kB / 0.748 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 55.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2915, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.003435/0.295, allocations: 1.037 MB / 0.9833 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002505/0.2976, allocations: 1.499 MB / 0.9847 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.2978, allocations: 4 kB / 0.9847 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.335e-05/0.2979, allocations: 3.938 kB / 0.9847 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.2982, allocations: 47.62 kB / 0.9848 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.2994, allocations: 411.4 kB / 0.9852 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005534/0.3, allocations: 423 kB / 0.9856 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.3001, allocations: 41.67 kB / 0.9856 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002989/0.3005, allocations: 155.6 kB / 0.9858 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002503/0.3007, allocations: 123.5 kB / 0.9859 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.317e-05/0.3008, allocations: 20 kB / 0.9859 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.301, allocations: 35.98 kB / 0.9859 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.544e-05/0.301, allocations: 35.83 kB / 0.986 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.3012, allocations: 135.4 kB / 0.9861 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005603/0.3018, allocations: 474.9 kB / 0.9865 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3018, allocations: 4 kB / 0.9866 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3018, allocations: 0 / 0.9866 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.3018, allocations: 4 kB / 0.9866 GB, free: 5.926 MB / 0.7136 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.001477/0.3033, allocations: 0.63 MB / 0.9872 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.781e-05/0.3034, allocations: 12.03 kB / 0.9872 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.3036, allocations: 32.64 kB / 0.9872 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.3038, allocations: 219 kB / 0.9874 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/0.3039, allocations: 16.38 kB / 0.9874 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.594e-05/0.304, allocations: 28.31 kB / 0.9875 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.3042, allocations: 121.6 kB / 0.9876 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.3042, allocations: 4.172 kB / 0.9876 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.3042, allocations: 7.938 kB / 0.9876 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.3042, allocations: 4 kB / 0.9876 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.3044, allocations: 47.92 kB / 0.9876 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.3054, allocations: 0.8757 MB / 0.9885 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.3056, allocations: 122.4 kB / 0.9886 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.157e-05/0.3056, allocations: 51.44 kB / 0.9887 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.3057, allocations: 4 kB / 0.9887 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003252/0.306, allocations: 178.6 kB / 0.9888 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.264e-06/0.306, allocations: 0 / 0.9888 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0004499/0.3065, allocations: 225.2 kB / 0.9891 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.881e-05/0.3065, allocations: 132.5 kB / 0.9892 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.3068, allocations: 244.8 kB / 0.9894 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.863e-05/0.3068, allocations: 41.7 kB / 0.9895 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.307, allocations: 136.4 kB / 0.9896 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.307, allocations: 27.61 kB / 0.9896 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.3072, allocations: 97.59 kB / 0.9897 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3073, allocations: 334.8 kB / 0.99 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.3076, allocations: 140.2 kB / 0.9902 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/0.308, allocations: 230.7 kB / 0.9904 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004422/0.3084, allocations: 368.9 kB / 0.9907 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3085, allocations: 0 / 0.9907 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009099/0.3094, allocations: 0.5507 MB / 0.9913 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.3095, allocations: 138.8 kB / 0.9914 GB, free: 484 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.3095, allocations: 4 kB / 0.9914 GB, free: 480 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.3095, allocations: 4 kB / 0.9914 GB, free: 476 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.546e-05/0.3096, allocations: 15.94 kB / 0.9914 GB, free: 460 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.3096, allocations: 4 kB / 0.9914 GB, free: 456 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006724/0.3103, allocations: 123.8 kB / 0.9915 GB, free: 332 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.652e-05/0.3104, allocations: 27.97 kB / 0.9916 GB, free: 304 kB / 0.7136 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.0001591/0.3105, allocations: 153.5 kB / 0.9917 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.3106, allocations: 16.75 kB / 0.9917 GB, free: 124 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.406e-05/0.3106, allocations: 29.23 kB / 0.9918 GB, free: 92 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.3106, allocations: 0 / 0.9918 GB, free: 92 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3107, allocations: 4 kB / 0.9918 GB, free: 88 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3107, allocations: 3.938 kB / 0.9918 GB, free: 84 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.3109, allocations: 257.5 kB / 0.992 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.3109, allocations: 0 / 0.992 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.175e-05/0.311, allocations: 15.92 kB / 0.992 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.311, allocations: 0 / 0.992 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.311, allocations: 4 kB / 0.992 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.311, allocations: 4 kB / 0.992 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.311, allocations: 7.938 kB / 0.992 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006289/0.3117, allocations: 0.851 MB / 0.9929 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.793e-05/0.3117, allocations: 88.92 kB / 0.993 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.3118, allocations: 15.92 kB / 0.993 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.641e-05/0.3118, allocations: 4 kB / 0.993 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.3119, allocations: 15.98 kB / 0.993 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.3119, allocations: 7.984 kB / 0.993 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001474/0.312, allocations: 168.5 kB / 0.9932 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3121, allocations: 3.938 kB / 0.9932 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004131/0.3125, allocations: 71.89 kB / 0.9932 GB, free: 14.45 MB / 0.7292 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.000166/0.3126, allocations: 111.4 kB / 0.9933 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000635/0.3133, allocations: 0.5286 MB / 0.9939 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3133, allocations: 0 / 0.9939 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.3134, allocations: 67.92 kB / 0.9939 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.3138, allocations: 60.81 kB / 0.994 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007123/0.3146, allocations: 0.5229 MB / 0.9945 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.3149, allocations: 0.7322 MB / 0.9952 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.221e-05/0.315, allocations: 21.55 kB / 0.9952 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/0.315, allocations: 23.44 kB / 0.9952 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of SimCode: time 2.11e-07/0.315, allocations: 0 / 0.9952 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of Templates: time 0.008065/0.3231, allocations: 4.526 MB / 0.9997 GB, free: 7.781 MB / 0.7292 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)