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.00108/0.00108, allocations: 111.3 kB / 15.23 MB, free: 0.6562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 196.3 kB / 16.14 MB, free: 6.715 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.214/1.214, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.8647/0.8647, allocations: 143 MB / 433 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 59.91 kB / 0.5136 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1335, allocations: 82.03 MB / 0.5937 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002316/0.1358, allocations: 1.544 MB / 0.5952 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006815/0.1365, allocations: 455 kB / 0.5957 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.386e-05/0.1366, allocations: 0 / 0.5957 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.359e-05/0.1367, allocations: 7.922 kB / 0.5957 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.523e-05/0.1367, allocations: 11.92 kB / 0.5957 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.1369, allocations: 27.97 kB / 0.5957 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.137, allocations: 87.77 kB / 0.5958 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.258e-05/0.1371, allocations: 16.17 kB / 0.5958 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.1372, allocations: 47.83 kB / 0.5958 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.038e-05/0.1373, allocations: 39.83 kB / 0.5959 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.1373, allocations: 4 kB / 0.5959 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.63e-05/0.1373, allocations: 7.938 kB / 0.5959 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.735e-05/0.1374, allocations: 11.98 kB / 0.5959 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.81e-05/0.1374, allocations: 39.78 kB / 0.5959 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.1375, allocations: 76.05 kB / 0.596 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1376, allocations: 0 / 0.596 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.81e-07/0.1376, allocations: 4 kB / 0.596 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.1376, allocations: 0 / 0.596 GB, free: 7.598 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.0006051/0.1382, allocations: 450.5 kB / 0.5965 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1382, allocations: 12.03 kB / 0.5965 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.667e-05/0.1383, allocations: 38.75 kB / 0.5965 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.1383, allocations: 8.844 kB / 0.5965 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.1385, allocations: 192.2 kB / 0.5967 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1385, allocations: 8.375 kB / 0.5967 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.1385, allocations: 8.375 kB / 0.5967 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.1388, allocations: 121.4 kB / 0.5968 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.1388, allocations: 0 / 0.5968 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.1388, allocations: 4 kB / 0.5968 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1389, allocations: 7.984 kB / 0.5968 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002809/0.1391, allocations: 83.92 kB / 0.5969 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.1396, allocations: 328.8 kB / 0.5972 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.1399, allocations: 110.4 kB / 0.5973 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.1401, allocations: 72.94 kB / 0.5974 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.1401, allocations: 4 kB / 0.5974 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000303/0.1404, allocations: 123.3 kB / 0.5975 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.1404, allocations: 0 / 0.5975 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006539/0.1411, allocations: 279.2 kB / 0.5978 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.1411, allocations: 85.05 kB / 0.5979 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.638e-05/0.1413, allocations: 132.4 kB / 0.598 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.1413, allocations: 29.7 kB / 0.598 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.1413, allocations: 100 kB / 0.5981 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.1414, allocations: 23.81 kB / 0.5981 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.466e-05/0.1414, allocations: 25.72 kB / 0.5982 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.753e-05/0.1415, allocations: 322.8 kB / 0.5985 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.1417, allocations: 71.95 kB / 0.5985 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.1419, allocations: 63.94 kB / 0.5986 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.1422, allocations: 181.8 kB / 0.5988 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1422, allocations: 4 kB / 0.5988 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000448/0.1427, allocations: 260.9 kB / 0.599 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.384e-05/0.1427, allocations: 71.33 kB / 0.5991 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.1427, allocations: 0 / 0.5991 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1427, allocations: 0 / 0.5991 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.1429, allocations: 15.98 kB / 0.5991 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1429, allocations: 0 / 0.5991 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.143, allocations: 23.97 kB / 0.5991 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.143, allocations: 11.94 kB / 0.5992 GB, free: 4.09 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.0001032/0.1431, allocations: 159.5 kB / 0.5993 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.1432, allocations: 7.906 kB / 0.5993 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.707e-05/0.1432, allocations: 12.38 kB / 0.5993 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1432, allocations: 0 / 0.5993 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1432, allocations: 0 / 0.5993 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1432, allocations: 0 / 0.5993 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.1434, allocations: 193.5 kB / 0.5995 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1434, allocations: 0 / 0.5995 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.394e-05/0.1435, allocations: 15.98 kB / 0.5995 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1435, allocations: 0 / 0.5995 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.1435, allocations: 4 kB / 0.5995 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1435, allocations: 3.984 kB / 0.5995 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1435, allocations: 0 / 0.5995 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004341/0.1439, allocations: 246.8 kB / 0.5998 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.144, allocations: 88.95 kB / 0.5999 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.144, allocations: 12.06 kB / 0.5999 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.1442, allocations: 23.91 kB / 0.5999 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.1443, allocations: 31.97 kB / 0.5999 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.1443, allocations: 7.984 kB / 0.5999 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.39e-05/0.1444, allocations: 99.2 kB / 0.6 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1444, allocations: 0 / 0.6 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001943/0.1446, allocations: 28 kB / 0.6 GB, free: 3.062 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.0006739/0.1452, allocations: 0.7782 MB / 0.6008 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004391/0.1457, allocations: 274.6 kB / 0.6011 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1457, allocations: 0 / 0.6011 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.1459, allocations: 139.3 kB / 0.6012 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.1461, allocations: 24.42 kB / 0.6012 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1965/0.3427, allocations: 1.755 MB / 0.6029 GB, free: 43.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.895e-05/0.3428, allocations: 0.6882 MB / 0.6036 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.822e-05/0.3428, allocations: 11.66 kB / 0.6036 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.3429, allocations: 22.31 kB / 0.6036 GB, free: 43.01 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.3429, allocations: 0 / 0.6036 GB, free: 43.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.373/1.716, allocations: 2.596 MB / 0.6062 GB, free: 42.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002335/1.716, allocations: 222.3 kB / 0.6064 GB, free: 42.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/3.266, allocations: 0 / 0.6064 GB, free: 42.59 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)