Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_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.934/2.934, allocations: 287.3 MB / 302.3 MB, free: 8.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.001516/0.001516, allocations: 189.1 kB / 370.8 MB, free: 10.84 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.6295 GB, free: 10.62 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.001631/0.001631, allocations: 99.66 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004906/0.0004906, allocations: 17.81 kB / 0.8658 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2283, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9409/1.169, allocations: 138.2 MB / 1.113 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/1.17, allocations: 74.88 kB / 1.113 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08454/1.254, allocations: 17.35 MB / 1.13 GB, free: 29.61 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.104e-06/1.254, allocations: 7.844 kB / 1.13 GB, free: 29.61 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.473e-05/1.254, allocations: 3.844 kB / 1.13 GB, free: 29.61 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001524/1.256, allocations: 1.002 MB / 1.131 GB, free: 28.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/1.256, allocations: 11.73 kB / 1.131 GB, free: 28.64 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.598e-05/1.256, allocations: 41.95 kB / 1.131 GB, free: 28.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003672/1.256, allocations: 62.19 kB / 1.131 GB, free: 28.58 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/1.257, allocations: 218.3 kB / 1.132 GB, free: 28.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/1.257, allocations: 34.86 kB / 1.132 GB, free: 28.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002644/1.257, allocations: 67.05 kB / 1.132 GB, free: 28.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003623/1.257, allocations: 216.1 kB / 1.132 GB, free: 28.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/1.257, allocations: 3.938 kB / 1.132 GB, free: 28.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/1.257, allocations: 3.844 kB / 1.132 GB, free: 28.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/1.257, allocations: 3.781 kB / 1.132 GB, free: 28.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/1.257, allocations: 67.53 kB / 1.132 GB, free: 28.12 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/1.259, allocations: 0.8593 MB / 1.133 GB, free: 27.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/1.259, allocations: 320.1 kB / 1.133 GB, free: 27.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/1.259, allocations: 11.84 kB / 1.133 GB, free: 27.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007156/1.26, allocations: 450.1 kB / 1.134 GB, free: 26.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 3.025e-06/1.26, allocations: 0 / 1.134 GB, free: 26.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.001666/1.261, allocations: 0.5557 MB / 1.134 GB, free: 26.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002559/1.262, allocations: 445.8 kB / 1.135 GB, free: 26.13 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/1.262, allocations: 258 kB / 1.135 GB, free: 25.99 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002917/1.262, allocations: 66 kB / 1.135 GB, free: 25.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002678/1.263, allocations: 159.6 kB / 1.135 GB, free: 25.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.732e-05/1.263, allocations: 95.45 kB / 1.135 GB, free: 25.81 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002269/1.263, allocations: 36.86 kB / 1.135 GB, free: 25.81 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001634/1.263, allocations: 355.7 kB / 1.135 GB, free: 25.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/1.264, allocations: 418.8 kB / 1.136 GB, free: 25.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/1.266, allocations: 0.6962 MB / 1.137 GB, free: 24.97 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/1.268, allocations: 0.8275 MB / 1.137 GB, free: 24.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/1.268, allocations: 3.812 kB / 1.137 GB, free: 24.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004942/1.273, allocations: 1.699 MB / 1.139 GB, free: 23.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004087/1.273, allocations: 481.1 kB / 1.139 GB, free: 23.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/1.273, allocations: 11.69 kB / 1.139 GB, free: 23.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.214e-05/1.273, allocations: 19.44 kB / 1.139 GB, free: 23.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.705e-05/1.273, allocations: 30.3 kB / 1.14 GB, free: 23.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.27e-05/1.273, allocations: 27.83 kB / 1.14 GB, free: 23.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004126/1.277, allocations: 0.5443 MB / 1.14 GB, free: 22.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003696/1.278, allocations: 95.89 kB / 1.14 GB, free: 22.97 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0005128/1.278, allocations: 221.3 kB / 1.14 GB, free: 22.83 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/1.278, allocations: 45.92 kB / 1.14 GB, free: 22.81 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/1.279, allocations: 35.42 kB / 1.14 GB, free: 22.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/1.279, allocations: 11.72 kB / 1.14 GB, free: 22.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/1.279, allocations: 3.844 kB / 1.14 GB, free: 22.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/1.279, allocations: 3.844 kB / 1.14 GB, free: 22.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004717/1.279, allocations: 331 kB / 1.141 GB, free: 22.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.279, allocations: 3.875 kB / 1.141 GB, free: 22.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.793e-05/1.279, allocations: 26.12 kB / 1.141 GB, free: 22.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/1.279, allocations: 7.781 kB / 1.141 GB, free: 22.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/1.279, allocations: 15.36 kB / 1.141 GB, free: 22.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.748e-06/1.279, allocations: 11.75 kB / 1.141 GB, free: 22.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/1.279, allocations: 3.75 kB / 1.141 GB, free: 22.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009836/1.28, allocations: 0.6776 MB / 1.142 GB, free: 22.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.933e-05/1.28, allocations: 104.5 kB / 1.142 GB, free: 21.91 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.552e-05/1.281, allocations: 26.7 kB / 1.142 GB, free: 21.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/1.281, allocations: 11.55 kB / 1.142 GB, free: 21.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002167/1.281, allocations: 68.8 kB / 1.142 GB, free: 21.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.825e-05/1.281, allocations: 26.86 kB / 1.142 GB, free: 21.87 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003403/1.281, allocations: 184.1 kB / 1.142 GB, free: 21.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.281, allocations: 0 / 1.142 GB, free: 21.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001376/1.283, allocations: 209.2 kB / 1.142 GB, free: 21.75 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.001865/1.285, allocations: 2.212 MB / 1.144 GB, free: 19.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00324/1.288, allocations: 1.755 MB / 1.146 GB, free: 18.69 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/1.288, allocations: 0 / 1.146 GB, free: 18.69 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003953/1.288, allocations: 183.8 kB / 1.146 GB, free: 18.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/1.289, allocations: 99.89 kB / 1.146 GB, free: 18.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005154/1.295, allocations: 7.856 MB / 1.154 GB, free: 10.94 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/1.295, allocations: 0.7878 MB / 1.155 GB, free: 10.19 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002587/1.295, allocations: 44.88 kB / 1.155 GB, free: 10.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/1.296, allocations: 107.5 kB / 1.155 GB, free: 10.16 MB / 0.698 GB Notification: Performance of SimCode: time 1.443e-06/1.296, allocations: 0 / 1.155 GB, free: 10.16 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0428/1.338, allocations: 13.6 MB / 1.168 GB, free: 2.164 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/1.339, allocations: 191.7 kB / 1.168 GB, free: 1.922 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.011/4.35, allocations: 0 / 1.168 GB, free: 1.922 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)