Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8009/0.8009, allocations: 127.4 MB / 134.9 MB, free: 3.711 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001607/0.001608, allocations: 180.8 kB / 164.6 MB, free: 6.512 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.2 MB / 399.5 MB, free: 5.945 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008199/0.0008199, allocations: 103.5 kB / 476.7 MB, free: 8.672 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.806e-05/1.798e-05, allocations: 0 / 0.5467 GB, free: 60.42 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1402, allocations: 76.76 MB / 0.6216 GB, free: 15.59 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4729/0.6131, allocations: 103 MB / 0.7222 GB, free: 12.66 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001844/0.6134, allocations: 71.7 kB / 0.7223 GB, free: 12.62 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004607/0.618, allocations: 1.497 MB / 0.7237 GB, free: 11.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.618, allocations: 0 / 0.7237 GB, free: 11.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.618, allocations: 0 / 0.7237 GB, free: 11.33 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006047/0.6186, allocations: 444.9 kB / 0.7242 GB, free: 10.85 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.6187, allocations: 8.031 kB / 0.7242 GB, free: 10.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.977e-05/0.6187, allocations: 11.95 kB / 0.7242 GB, free: 10.83 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.619, allocations: 196.8 kB / 0.7244 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.619, allocations: 4 kB / 0.7244 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.619, allocations: 4 kB / 0.7244 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001402/0.6192, allocations: 49.92 kB / 0.7244 GB, free: 10.56 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.6193, allocations: 89.84 kB / 0.7245 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.6193, allocations: 0 / 0.7245 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.6194, allocations: 7.375 kB / 0.7245 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.6194, allocations: 3.953 kB / 0.7245 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006024/0.62, allocations: 316.5 kB / 0.7248 GB, free: 10.15 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.6201, allocations: 65.39 kB / 0.7249 GB, free: 10.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.437e-05/0.6202, allocations: 51.97 kB / 0.7249 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.6202, allocations: 3.984 kB / 0.7249 GB, free: 10.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.6204, allocations: 99.8 kB / 0.725 GB, free: 9.961 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.6204, allocations: 0 / 0.725 GB, free: 9.961 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.000303/0.6207, allocations: 149.7 kB / 0.7252 GB, free: 9.832 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.6208, allocations: 84.55 kB / 0.7253 GB, free: 9.734 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.412e-05/0.6209, allocations: 114.3 kB / 0.7254 GB, free: 9.625 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.6209, allocations: 29.7 kB / 0.7254 GB, free: 9.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/0.621, allocations: 90.06 kB / 0.7255 GB, free: 9.504 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.621, allocations: 22.44 kB / 0.7255 GB, free: 9.484 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.621, allocations: 6.625 kB / 0.7255 GB, free: 9.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.6212, allocations: 320.9 kB / 0.7258 GB, free: 9.164 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.38e-05/0.6213, allocations: 45.88 kB / 0.7259 GB, free: 9.133 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.784e-05/0.6213, allocations: 46.11 kB / 0.7259 GB, free: 9.102 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.939e-05/0.6214, allocations: 26.7 kB / 0.7259 GB, free: 9.082 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6214, allocations: 0 / 0.7259 GB, free: 9.082 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002436/0.6217, allocations: 159.6 kB / 0.7261 GB, free: 8.949 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.059e-05/0.6217, allocations: 66.64 kB / 0.7262 GB, free: 8.875 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.6217, allocations: 0 / 0.7262 GB, free: 8.875 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.6218, allocations: 0 / 0.7262 GB, free: 8.875 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.6219, allocations: 19.94 kB / 0.7262 GB, free: 8.855 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.6219, allocations: 8 kB / 0.7262 GB, free: 8.848 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.6221, allocations: 27.88 kB / 0.7262 GB, free: 8.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.6221, allocations: 4 kB / 0.7262 GB, free: 8.816 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001087/0.6222, allocations: 142.1 kB / 0.7263 GB, free: 8.668 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002258/0.6224, allocations: 147 kB / 0.7265 GB, free: 8.547 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.6225, allocations: 7.906 kB / 0.7265 GB, free: 8.539 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.605e-05/0.6225, allocations: 24 kB / 0.7265 GB, free: 8.523 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.6225, allocations: 0 / 0.7265 GB, free: 8.523 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.6225, allocations: 0 / 0.7265 GB, free: 8.523 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.6225, allocations: 0 / 0.7265 GB, free: 8.523 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.6227, allocations: 167 kB / 0.7267 GB, free: 8.336 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.6227, allocations: 0 / 0.7267 GB, free: 8.336 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.423e-05/0.6228, allocations: 19.97 kB / 0.7267 GB, free: 8.316 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.6228, allocations: 0 / 0.7267 GB, free: 8.316 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.6228, allocations: 0 / 0.7267 GB, free: 8.316 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.6228, allocations: 4 kB / 0.7267 GB, free: 8.312 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.6228, allocations: 7.953 kB / 0.7267 GB, free: 8.305 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.6231, allocations: 168.2 kB / 0.7269 GB, free: 8.152 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.6231, allocations: 88.95 kB / 0.7269 GB, free: 8.047 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.6232, allocations: 4 kB / 0.727 GB, free: 8.043 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.6233, allocations: 27.97 kB / 0.727 GB, free: 8.016 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.6235, allocations: 42.09 kB / 0.727 GB, free: 7.984 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.6235, allocations: 8.859 kB / 0.727 GB, free: 7.977 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.344e-05/0.6236, allocations: 96.64 kB / 0.7271 GB, free: 7.891 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6236, allocations: 0 / 0.7271 GB, free: 7.891 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002041/0.6238, allocations: 27.31 kB / 0.7271 GB, free: 7.867 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0005454/0.6244, allocations: 0.7065 MB / 0.7278 GB, free: 7.156 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002854/0.6247, allocations: 225 kB / 0.7281 GB, free: 6.949 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6247, allocations: 0 / 0.7281 GB, free: 6.949 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.6248, allocations: 111.2 kB / 0.7282 GB, free: 6.848 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.625, allocations: 11.81 kB / 0.7282 GB, free: 6.84 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004932/0.6255, allocations: 189.2 kB / 0.7283 GB, free: 6.641 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.6258, allocations: 0.6963 MB / 0.729 GB, free: 5.918 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.542e-05/0.6258, allocations: 12.11 kB / 0.729 GB, free: 5.902 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.6259, allocations: 17.38 kB / 0.7291 GB, free: 5.891 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6259, allocations: 0 / 0.7291 GB, free: 5.891 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.6483, allocations: 2.114 MB / 0.7311 GB, free: 3.805 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.6485, allocations: 154 kB / 0.7313 GB, free: 3.609 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.457/2.106, allocations: 8.031 kB / 0.7313 GB, free: 3.602 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)