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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 198.1 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.015/1.015, allocations: 143 MB / 433.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.89 kB / 0.5143 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1356, allocations: 82.04 MB / 0.5944 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002544/0.1381, allocations: 1.464 MB / 0.5958 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007283/0.1389, allocations: 462.9 kB / 0.5963 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.684e-05/0.139, allocations: 4 kB / 0.5963 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.123e-05/0.139, allocations: 7.875 kB / 0.5963 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.205e-05/0.1391, allocations: 7.875 kB / 0.5963 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.1393, allocations: 39.94 kB / 0.5963 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.1395, allocations: 103.8 kB / 0.5964 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.105e-05/0.1396, allocations: 8.188 kB / 0.5964 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.1397, allocations: 55.77 kB / 0.5965 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.35e-05/0.1398, allocations: 39.89 kB / 0.5965 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.1398, allocations: 8 kB / 0.5965 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.057e-05/0.1398, allocations: 15.94 kB / 0.5965 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.738e-05/0.1399, allocations: 7.984 kB / 0.5965 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.179e-05/0.1399, allocations: 43.78 kB / 0.5966 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.1401, allocations: 84.03 kB / 0.5967 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1401, allocations: 0 / 0.5967 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1401, allocations: 3.938 kB / 0.5967 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.1401, allocations: 4 kB / 0.5967 GB, free: 7.137 MB / 0.4981 GB 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.0006306/0.1407, allocations: 446.5 kB / 0.5971 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1408, allocations: 12.03 kB / 0.5971 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.735e-05/0.1408, allocations: 34.75 kB / 0.5971 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.1409, allocations: 16.84 kB / 0.5972 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.141, allocations: 195.1 kB / 0.5973 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.1411, allocations: 4.375 kB / 0.5974 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.1411, allocations: 4.375 kB / 0.5974 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.1414, allocations: 125.5 kB / 0.5975 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.1414, allocations: 0 / 0.5975 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.1414, allocations: 4 kB / 0.5975 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1414, allocations: 4 kB / 0.5975 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/0.1417, allocations: 87.92 kB / 0.5976 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.1422, allocations: 328.8 kB / 0.5979 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.1426, allocations: 110.5 kB / 0.598 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.1428, allocations: 68.94 kB / 0.5981 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.1428, allocations: 0 / 0.5981 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003045/0.1431, allocations: 119.3 kB / 0.5982 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.1431, allocations: 8 kB / 0.5982 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0007113/0.1438, allocations: 275.1 kB / 0.5984 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.1439, allocations: 85.11 kB / 0.5985 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.301e-05/0.144, allocations: 128.4 kB / 0.5986 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.144, allocations: 33.7 kB / 0.5987 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.1441, allocations: 96.03 kB / 0.5988 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.1441, allocations: 19.75 kB / 0.5988 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.1442, allocations: 33.7 kB / 0.5988 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.996e-05/0.1443, allocations: 322.8 kB / 0.5991 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.1445, allocations: 63.94 kB / 0.5992 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.1447, allocations: 71.94 kB / 0.5993 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.145, allocations: 189.9 kB / 0.5994 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.145, allocations: 0 / 0.5994 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005066/0.1455, allocations: 268.9 kB / 0.5997 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/0.1456, allocations: 59.41 kB / 0.5997 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1456, allocations: 0 / 0.5997 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.1456, allocations: 0 / 0.5997 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.1458, allocations: 23.97 kB / 0.5998 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1458, allocations: 4 kB / 0.5998 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.1459, allocations: 15.98 kB / 0.5998 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.146, allocations: 7.938 kB / 0.5998 GB, free: 3.641 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.1461, allocations: 163.4 kB / 0.6 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.1461, allocations: 11.91 kB / 0.6 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.1461, allocations: 8.375 kB / 0.6 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1461, allocations: 0 / 0.6 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1461, allocations: 8 kB / 0.6 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1462, allocations: 3.984 kB / 0.6 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.1463, allocations: 185.8 kB / 0.6002 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.1463, allocations: 8 kB / 0.6002 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.035e-05/0.1464, allocations: 15.97 kB / 0.6002 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1464, allocations: 0 / 0.6002 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.1464, allocations: 4 kB / 0.6002 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1464, allocations: 0 / 0.6002 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1464, allocations: 4 kB / 0.6002 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000496/0.1469, allocations: 250.5 kB / 0.6004 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/0.147, allocations: 88.95 kB / 0.6005 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.147, allocations: 4 kB / 0.6005 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.1472, allocations: 19.97 kB / 0.6005 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.1473, allocations: 35.95 kB / 0.6006 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.1473, allocations: 8 kB / 0.6006 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.147e-05/0.1474, allocations: 103.2 kB / 0.6007 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1474, allocations: 0 / 0.6007 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002306/0.1476, allocations: 28 kB / 0.6007 GB, free: 2.598 MB / 0.4981 GB 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009256/0.1486, allocations: 0.7741 MB / 0.6015 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005729/0.1492, allocations: 270.6 kB / 0.6017 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1492, allocations: 3.938 kB / 0.6017 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002782/0.1494, allocations: 135.4 kB / 0.6019 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.1497, allocations: 31.12 kB / 0.6019 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2235/0.3732, allocations: 1.729 MB / 0.6036 GB, free: 43.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.3734, allocations: 0.6921 MB / 0.6042 GB, free: 42.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.836e-05/0.3734, allocations: 9.406 kB / 0.6043 GB, free: 42.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.204e-05/0.3735, allocations: 23.67 kB / 0.6043 GB, free: 42.78 MB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.3735, allocations: 0 / 0.6043 GB, free: 42.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06637/0.4399, allocations: 2.973 MB / 0.6072 GB, free: 42.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.682/9.122, allocations: 14.62 kB / 0.6072 GB, free: 42.48 MB / 0.4981 GB (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/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)