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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.683/2.683, allocations: 287.5 MB / 302.4 MB, free: 8.238 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.00134/0.00134, allocations: 188.1 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.294/2.294, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.001453/0.001453, allocations: 89.05 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005018/0.0005021, allocations: 11.94 kB / 0.8659 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2718, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001494/0.2734, allocations: 0.6542 MB / 0.9791 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002578/0.276, allocations: 1.402 MB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.58e-05/0.2761, allocations: 4 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.241e-05/0.2761, allocations: 7.875 kB / 0.9805 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.2764, allocations: 43.69 kB / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.2783, allocations: 374.7 kB / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006731/0.279, allocations: 391.1 kB / 0.9813 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.2792, allocations: 37.84 kB / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002647/0.2795, allocations: 139.6 kB / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.2797, allocations: 119.5 kB / 0.9816 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.2799, allocations: 23.94 kB / 0.9816 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.2801, allocations: 31.98 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.433e-05/0.2801, allocations: 23.86 kB / 0.9816 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.2803, allocations: 69.64 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005518/0.2808, allocations: 387.2 kB / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2809, allocations: 0 / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2809, allocations: 0 / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.2809, allocations: 0 / 0.9821 GB, free: 24.55 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.0008789/0.2818, allocations: 0.5637 MB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.2818, allocations: 19.95 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.143e-05/0.2819, allocations: 38.55 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.2821, allocations: 35.67 kB / 0.9827 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.2823, allocations: 209.9 kB / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.426e-05/0.2824, allocations: 20 kB / 0.9829 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.2825, allocations: 19.98 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/0.2828, allocations: 121 kB / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.2829, allocations: 0 / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.2829, allocations: 8 kB / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.2829, allocations: 3.953 kB / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002103/0.2831, allocations: 55.91 kB / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.2846, allocations: 0.8834 MB / 0.984 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.2849, allocations: 114.4 kB / 0.9841 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.285, allocations: 51.48 kB / 0.9841 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.285, allocations: 4 kB / 0.9841 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000427/0.2855, allocations: 173.1 kB / 0.9843 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.685e-06/0.2855, allocations: 3.938 kB / 0.9843 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0008158/0.2863, allocations: 230.1 kB / 0.9845 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.202e-05/0.2864, allocations: 140.4 kB / 0.9847 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/0.2868, allocations: 240.9 kB / 0.9849 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.2869, allocations: 37.7 kB / 0.9849 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.2871, allocations: 132.3 kB / 0.9851 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.202e-05/0.2872, allocations: 31.69 kB / 0.9851 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.036e-05/0.2873, allocations: 12 kB / 0.9851 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.2874, allocations: 334.8 kB / 0.9854 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006272/0.288, allocations: 140.2 kB / 0.9856 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006735/0.2887, allocations: 226.6 kB / 0.9858 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006452/0.2894, allocations: 254.7 kB / 0.986 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.2894, allocations: 0 / 0.986 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001827/0.2912, allocations: 0.5508 MB / 0.9866 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.2914, allocations: 134.8 kB / 0.9867 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.2914, allocations: 4 kB / 0.9867 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.2914, allocations: 4 kB / 0.9867 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.2916, allocations: 23.86 kB / 0.9867 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.2916, allocations: 7.984 kB / 0.9867 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.2932, allocations: 158.3 kB / 0.9869 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.2934, allocations: 27.97 kB / 0.9869 GB, free: 19.13 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.0002633/0.2936, allocations: 157.5 kB / 0.987 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.254e-05/0.2937, allocations: 23.72 kB / 0.9871 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.706e-05/0.2938, allocations: 25.23 kB / 0.9871 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.2938, allocations: 0 / 0.9871 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/0.2938, allocations: 8 kB / 0.9871 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.2939, allocations: 0 / 0.9871 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003614/0.2942, allocations: 265.5 kB / 0.9874 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2943, allocations: 0 / 0.9874 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.317e-05/0.2944, allocations: 8 kB / 0.9874 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.2944, allocations: 4 kB / 0.9874 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.2944, allocations: 7.922 kB / 0.9874 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.2944, allocations: 8 kB / 0.9874 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.2944, allocations: 3.938 kB / 0.9874 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005119/0.295, allocations: 211.3 kB / 0.9876 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/0.2951, allocations: 100.9 kB / 0.9877 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.625e-05/0.2951, allocations: 4 kB / 0.9877 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.2953, allocations: 8 kB / 0.9877 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/0.2953, allocations: 19.97 kB / 0.9877 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.2954, allocations: 4 kB / 0.9877 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002405/0.2956, allocations: 172.4 kB / 0.9879 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.61e-07/0.2956, allocations: 0 / 0.9879 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007059/0.2964, allocations: 67.91 kB / 0.9879 GB, free: 17.96 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.0008011/0.2972, allocations: 0.7601 MB / 0.9887 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001262/0.2985, allocations: 0.5257 MB / 0.9892 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.2985, allocations: 4.125 kB / 0.9892 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.2987, allocations: 64.53 kB / 0.9893 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008937/0.2996, allocations: 68.62 kB / 0.9893 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003862/0.3035, allocations: 1.614 MB / 0.9909 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.3037, allocations: 0.732 MB / 0.9916 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000108/0.3038, allocations: 29.42 kB / 0.9917 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.3039, allocations: 59.41 kB / 0.9917 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/0.3039, allocations: 0 / 0.9917 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03563/0.3396, allocations: 6.097 MB / 0.9977 GB, free: 7.996 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002849/0.3399, allocations: 200.2 kB / 0.9979 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.754/3.094, allocations: 4 kB / 0.9979 GB, free: 7.754 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)