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.001137/0.001137, allocations: 108 kB / 15.61 MB, free: 152 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.00112/0.00112, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.181/1.181, allocations: 222.9 MB / 240.2 MB, free: 4.398 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 0.8592/0.8592, allocations: 143 MB / 433.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 63.89 kB / 0.5143 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1253, allocations: 82.05 MB / 0.5944 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.00244/0.1278, allocations: 1.464 MB / 0.5958 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008008/0.1286, allocations: 466.9 kB / 0.5963 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.827e-05/0.1287, allocations: 0 / 0.5963 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.841e-05/0.1288, allocations: 3.938 kB / 0.5963 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.538e-05/0.1289, allocations: 19.84 kB / 0.5963 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002157/0.1291, allocations: 31.89 kB / 0.5963 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.1293, allocations: 99.77 kB / 0.5964 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1294, allocations: 20.11 kB / 0.5964 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.1296, allocations: 47.89 kB / 0.5965 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.739e-05/0.1297, allocations: 39.83 kB / 0.5965 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.1297, allocations: 8 kB / 0.5965 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.862e-05/0.1297, allocations: 8 kB / 0.5965 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.575e-05/0.1298, allocations: 11.98 kB / 0.5965 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.245e-05/0.1299, allocations: 47.73 kB / 0.5966 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.13, allocations: 84.03 kB / 0.5967 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.13, allocations: 0 / 0.5967 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.854e-06/0.13, allocations: 0 / 0.5967 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.13, allocations: 0 / 0.5967 GB, free: 7.141 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.0006488/0.1307, allocations: 446.5 kB / 0.5971 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.1307, allocations: 12.03 kB / 0.5971 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.1308, allocations: 42.73 kB / 0.5971 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.1308, allocations: 8.844 kB / 0.5972 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.131, allocations: 195.1 kB / 0.5973 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.131, allocations: 12.38 kB / 0.5974 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.131, allocations: 4.375 kB / 0.5974 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.1313, allocations: 117.5 kB / 0.5975 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.1313, allocations: 0 / 0.5975 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.1313, allocations: 4 kB / 0.5975 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1314, allocations: 7.938 kB / 0.5975 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002745/0.1316, allocations: 91.86 kB / 0.5976 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.1321, allocations: 324.8 kB / 0.5979 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.1324, allocations: 106.5 kB / 0.598 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.1326, allocations: 72.94 kB / 0.598 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.1326, allocations: 4 kB / 0.5981 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003121/0.133, allocations: 123.3 kB / 0.5982 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.133, allocations: 0 / 0.5982 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006811/0.1336, allocations: 275.2 kB / 0.5984 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.1337, allocations: 85.09 kB / 0.5985 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.459e-05/0.1338, allocations: 132.4 kB / 0.5986 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.1338, allocations: 29.7 kB / 0.5987 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.1339, allocations: 99.98 kB / 0.5988 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.1339, allocations: 27.8 kB / 0.5988 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.185e-05/0.134, allocations: 29.72 kB / 0.5988 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.802e-05/0.1341, allocations: 322.8 kB / 0.5991 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.1342, allocations: 71.89 kB / 0.5992 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.1344, allocations: 59.95 kB / 0.5993 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.1347, allocations: 181.9 kB / 0.5994 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1347, allocations: 8 kB / 0.5994 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000438/0.1352, allocations: 256.9 kB / 0.5997 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.774e-05/0.1352, allocations: 67.39 kB / 0.5997 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1352, allocations: 80 / 0.5997 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1353, allocations: 3.984 kB / 0.5997 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.1354, allocations: 16.08 kB / 0.5998 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1354, allocations: 7.922 kB / 0.5998 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.1355, allocations: 27.97 kB / 0.5998 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.1356, allocations: 7.938 kB / 0.5998 GB, free: 3.629 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 9.963e-05/0.1357, allocations: 151.5 kB / 0.5999 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.1357, allocations: 7.906 kB / 0.6 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.942e-05/0.1357, allocations: 16.36 kB / 0.6 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1357, allocations: 3.938 kB / 0.6 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1357, allocations: 0 / 0.6 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1357, allocations: 0 / 0.6 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.1359, allocations: 197.5 kB / 0.6002 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1359, allocations: 256 / 0.6002 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.252e-05/0.136, allocations: 15.98 kB / 0.6002 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.136, allocations: 0 / 0.6002 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.136, allocations: 4 kB / 0.6002 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.136, allocations: 0 / 0.6002 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.136, allocations: 0 / 0.6002 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004357/0.1364, allocations: 250.6 kB / 0.6004 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.943e-05/0.1365, allocations: 88.94 kB / 0.6005 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.1365, allocations: 8 kB / 0.6005 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.1367, allocations: 15.98 kB / 0.6005 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.1368, allocations: 39.95 kB / 0.6006 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.1368, allocations: 0 / 0.6006 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.17e-05/0.1368, allocations: 103.1 kB / 0.6007 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.1369, allocations: 8 kB / 0.6007 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001943/0.1371, allocations: 24 kB / 0.6007 GB, free: 2.602 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.0006641/0.1377, allocations: 0.778 MB / 0.6015 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004381/0.1382, allocations: 266.6 kB / 0.6017 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1382, allocations: 7.938 kB / 0.6017 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00022/0.1384, allocations: 135.4 kB / 0.6018 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.0001876/0.1386, allocations: 15.98 kB / 0.6019 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1892/0.3279, allocations: 1.74 MB / 0.6036 GB, free: 43.51 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.861e-05/0.328, allocations: 0.6957 MB / 0.6042 GB, free: 42.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.413e-05/0.328, allocations: 7.906 kB / 0.6042 GB, free: 42.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.854e-05/0.3281, allocations: 20.03 kB / 0.6043 GB, free: 42.81 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.3281, allocations: 3.5 kB / 0.6043 GB, free: 42.81 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/0.3436, allocations: 2.973 MB / 0.6072 GB, free: 42.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.303/6.647, allocations: 16.86 kB / 0.6072 GB, free: 42.52 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)