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.625/2.625, allocations: 287.3 MB / 302.3 MB, free: 8.309 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.001579/0.001578, allocations: 178.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.175/2.175, allocations: 205.4 MB / 0.6295 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.001147/0.001147, allocations: 104.6 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004852/0.0004852, allocations: 12.12 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2159, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.053/1.269, allocations: 138.1 MB / 1.113 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/1.269, allocations: 78.62 kB / 1.113 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02916/1.298, allocations: 6.178 MB / 1.119 GB, free: 30.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.054e-06/1.298, allocations: 0 / 1.119 GB, free: 30.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.508e-05/1.298, allocations: 3.844 kB / 1.119 GB, free: 30.7 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009303/1.299, allocations: 0.5841 MB / 1.12 GB, free: 30.15 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/1.299, allocations: 15.55 kB / 1.12 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.835e-05/1.299, allocations: 37.33 kB / 1.12 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/1.3, allocations: 30.91 kB / 1.12 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/1.3, allocations: 216.7 kB / 1.12 GB, free: 29.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/1.3, allocations: 18.05 kB / 1.12 GB, free: 29.88 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.497e-05/1.3, allocations: 23.09 kB / 1.12 GB, free: 29.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/1.3, allocations: 120.4 kB / 1.12 GB, free: 29.81 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/1.3, allocations: 0 / 1.12 GB, free: 29.81 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/1.3, allocations: 11.59 kB / 1.12 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/1.3, allocations: 0 / 1.12 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/1.301, allocations: 52.39 kB / 1.12 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/1.302, allocations: 0.8813 MB / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/1.302, allocations: 117.5 kB / 1.121 GB, free: 29.17 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/1.302, allocations: 3.875 kB / 1.121 GB, free: 29.17 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003387/1.302, allocations: 172.7 kB / 1.121 GB, free: 29.08 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 3.326e-06/1.302, allocations: 0 / 1.121 GB, free: 29.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0007083/1.303, allocations: 229.5 kB / 1.122 GB, free: 29.03 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.849e-05/1.303, allocations: 136.4 kB / 1.122 GB, free: 28.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/1.304, allocations: 217.6 kB / 1.122 GB, free: 28.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/1.304, allocations: 37.48 kB / 1.122 GB, free: 28.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/1.304, allocations: 128 kB / 1.122 GB, free: 28.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/1.304, allocations: 41.39 kB / 1.122 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.45e-05/1.304, allocations: 11.56 kB / 1.122 GB, free: 28.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.304, allocations: 328.2 kB / 1.123 GB, free: 28.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004603/1.305, allocations: 142.7 kB / 1.123 GB, free: 28.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005191/1.305, allocations: 227.7 kB / 1.123 GB, free: 28.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004931/1.306, allocations: 256.4 kB / 1.123 GB, free: 28.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/1.306, allocations: 0 / 1.123 GB, free: 28.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001405/1.307, allocations: 0.5437 MB / 1.124 GB, free: 27.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001301/1.307, allocations: 143.5 kB / 1.124 GB, free: 27.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/1.307, allocations: 8.109 kB / 1.124 GB, free: 27.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/1.307, allocations: 7.812 kB / 1.124 GB, free: 27.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/1.307, allocations: 18.75 kB / 1.124 GB, free: 27.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/1.307, allocations: 3.812 kB / 1.124 GB, free: 27.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/1.309, allocations: 142.8 kB / 1.124 GB, free: 27.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.338e-05/1.309, allocations: 29.45 kB / 1.124 GB, free: 27.74 MB / 0.698 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.000306/1.309, allocations: 156.2 kB / 1.124 GB, free: 27.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.474e-05/1.309, allocations: 23.25 kB / 1.124 GB, free: 27.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.409e-05/1.309, allocations: 22.94 kB / 1.124 GB, free: 27.59 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.016e-06/1.309, allocations: 7.875 kB / 1.124 GB, free: 27.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/1.309, allocations: 0 / 1.124 GB, free: 27.59 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/1.309, allocations: 3.844 kB / 1.124 GB, free: 27.59 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/1.31, allocations: 259.9 kB / 1.124 GB, free: 27.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/1.31, allocations: 7.938 kB / 1.124 GB, free: 27.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.753e-05/1.31, allocations: 11.59 kB / 1.124 GB, free: 27.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/1.31, allocations: 0 / 1.124 GB, free: 27.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/1.31, allocations: 10.06 kB / 1.125 GB, free: 27.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/1.31, allocations: 7.703 kB / 1.125 GB, free: 27.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.31, allocations: 0 / 1.125 GB, free: 27.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004218/1.31, allocations: 248.6 kB / 1.125 GB, free: 27.23 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.398e-05/1.31, allocations: 103.2 kB / 1.125 GB, free: 27.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/1.31, allocations: 3.141 kB / 1.125 GB, free: 27.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.974e-05/1.31, allocations: 11.09 kB / 1.125 GB, free: 27.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/1.31, allocations: 10.92 kB / 1.125 GB, free: 27.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/1.31, allocations: 10.56 kB / 1.125 GB, free: 27.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002049/1.311, allocations: 164.2 kB / 1.125 GB, free: 27.04 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.3e-07/1.311, allocations: 3.844 kB / 1.125 GB, free: 27.04 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006167/1.311, allocations: 61.38 kB / 1.125 GB, free: 27.04 MB / 0.698 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.0009176/1.312, allocations: 1.021 MB / 1.126 GB, free: 26.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001168/1.313, allocations: 0.5259 MB / 1.127 GB, free: 25.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.313, allocations: 0 / 1.127 GB, free: 25.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001774/1.314, allocations: 69.19 kB / 1.127 GB, free: 25.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006362/1.314, allocations: 63.48 kB / 1.127 GB, free: 25.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/1.316, allocations: 2.32 MB / 1.129 GB, free: 23.67 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/1.317, allocations: 0.7346 MB / 1.13 GB, free: 22.97 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001515/1.317, allocations: 20.17 kB / 1.13 GB, free: 22.97 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/1.317, allocations: 60.2 kB / 1.13 GB, free: 22.96 MB / 0.698 GB Notification: Performance of SimCode: time 1.092e-06/1.317, allocations: 0 / 1.13 GB, free: 22.96 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02842/1.345, allocations: 5.981 MB / 1.136 GB, free: 21.83 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002428/1.346, allocations: 188.4 kB / 1.136 GB, free: 21.59 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.669/4.015, allocations: 3.938 kB / 1.136 GB, free: 21.59 MB / 0.698 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)