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.436/2.436, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001396/0.001396, allocations: 180.8 kB / 360.6 MB, free: 7.277 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.049/2.049, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001108/0.001107, allocations: 91.39 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.881e-05/2.877e-05, allocations: 8 kB / 0.8509 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8453/0.8453, allocations: 115.3 MB / 0.9634 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2537/1.099, allocations: 137.3 MB / 1.098 GB, free: 3.172 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/1.099, allocations: 76.58 kB / 1.098 GB, free: 3.098 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02973/1.129, allocations: 6.141 MB / 1.104 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.532e-06/1.129, allocations: 0 / 1.104 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.317e-05/1.129, allocations: 4 kB / 1.104 GB, free: 13.04 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.0007372/1.13, allocations: 0.545 MB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/1.13, allocations: 12.03 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/1.13, allocations: 26.23 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/1.131, allocations: 225.7 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/1.131, allocations: 6.438 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/1.131, allocations: 16 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001578/1.131, allocations: 43.98 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/1.131, allocations: 118 kB / 1.105 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/1.131, allocations: 4 kB / 1.105 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/1.131, allocations: 0 / 1.105 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/1.131, allocations: 0 / 1.105 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/1.133, allocations: 0.8411 MB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/1.133, allocations: 114.4 kB / 1.106 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.839e-05/1.133, allocations: 47.5 kB / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/1.133, allocations: 0 / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003694/1.133, allocations: 175.1 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.014e-06/1.133, allocations: 3.938 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0005608/1.134, allocations: 169.5 kB / 1.106 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.4e-05/1.134, allocations: 136.5 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/1.134, allocations: 203.9 kB / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.368e-05/1.134, allocations: 37.7 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/1.135, allocations: 132.4 kB / 1.106 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.428e-05/1.135, allocations: 35.61 kB / 1.106 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.266e-05/1.135, allocations: 4 kB / 1.106 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.135, allocations: 334.8 kB / 1.107 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004175/1.135, allocations: 124.2 kB / 1.107 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004723/1.136, allocations: 210.7 kB / 1.107 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/1.137, allocations: 162.6 kB / 1.107 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.137, allocations: 0 / 1.107 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001851/1.139, allocations: 433.1 kB / 1.108 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001347/1.139, allocations: 134.8 kB / 1.108 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/1.139, allocations: 4.25 kB / 1.108 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.633e-05/1.139, allocations: 11.95 kB / 1.108 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/1.139, allocations: 23.81 kB / 1.108 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/1.139, allocations: 4 kB / 1.108 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/1.14, allocations: 151.7 kB / 1.108 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.095e-05/1.14, allocations: 27.97 kB / 1.108 GB, free: 8.219 MB / 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.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 () * 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.0001924/1.141, allocations: 128.7 kB / 1.108 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003911/1.141, allocations: 161.3 kB / 1.108 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/1.141, allocations: 23.77 kB / 1.108 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.165e-05/1.141, allocations: 21.55 kB / 1.108 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/1.141, allocations: 4 kB / 1.108 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.141, allocations: 0 / 1.108 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/1.141, allocations: 4 kB / 1.108 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/1.142, allocations: 226.1 kB / 1.109 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.142, allocations: 1.312 kB / 1.109 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.803e-05/1.142, allocations: 11.94 kB / 1.109 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/1.142, allocations: 4 kB / 1.109 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/1.142, allocations: 7.984 kB / 1.109 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/1.142, allocations: 3.953 kB / 1.109 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.142, allocations: 0 / 1.109 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00042/1.142, allocations: 240.4 kB / 1.109 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.645e-05/1.142, allocations: 100.9 kB / 1.109 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/1.142, allocations: 4 kB / 1.109 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.594e-05/1.142, allocations: 4 kB / 1.109 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.385e-05/1.143, allocations: 19.97 kB / 1.109 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/1.143, allocations: 7.938 kB / 1.109 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001969/1.143, allocations: 156.5 kB / 1.109 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.61e-07/1.143, allocations: 4 kB / 1.109 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005534/1.143, allocations: 65.22 kB / 1.109 GB, free: 6.93 MB / 0.7136 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 () * 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.0008854/1.144, allocations: 0.9957 MB / 1.11 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00105/1.145, allocations: 0.5015 MB / 1.111 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.145, allocations: 0 / 1.111 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/1.145, allocations: 56.31 kB / 1.111 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006427/1.146, allocations: 66.88 kB / 1.111 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/1.147, allocations: 287.9 kB / 1.111 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/1.148, allocations: 0.7438 MB / 1.112 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001098/1.148, allocations: 17.86 kB / 1.112 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/1.148, allocations: 55.42 kB / 1.112 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of SimCode: time 1.012e-06/1.148, allocations: 0 / 1.112 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05032/1.198, allocations: 5.389 MB / 1.117 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003352/1.199, allocations: 151.7 kB / 1.117 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.526/3.724, allocations: 6.078 kB / 1.117 GB, free: 14.61 MB / 0.7292 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)