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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.007182/0.007182, allocations: 101 kB / 15.73 MB, free: 6.059 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.001809/0.001809, allocations: 197.3 kB / 16.67 MB, free: 5.969 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9212/0.9212, allocations: 143.3 MB / 433.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 61.38 kB / 0.5953 GB, free: 12.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1417, allocations: 82.03 MB / 0.6754 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002564/0.1443, allocations: 1.48 MB / 0.6768 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008045/0.1451, allocations: 462.8 kB / 0.6773 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.669e-05/0.1452, allocations: 4 kB / 0.6773 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.056e-05/0.1453, allocations: 3.938 kB / 0.6773 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.037e-05/0.1454, allocations: 15.86 kB / 0.6773 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.1456, allocations: 43.83 kB / 0.6773 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.1457, allocations: 99.81 kB / 0.6774 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.595e-05/0.1458, allocations: 8.188 kB / 0.6774 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.146, allocations: 55.81 kB / 0.6775 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.719e-05/0.1461, allocations: 43.83 kB / 0.6775 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.076e-05/0.1461, allocations: 8 kB / 0.6775 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.258e-05/0.1461, allocations: 8 kB / 0.6775 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.421e-05/0.1462, allocations: 15.92 kB / 0.6775 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.4e-05/0.1463, allocations: 35.86 kB / 0.6776 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.1464, allocations: 87.91 kB / 0.6777 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1464, allocations: 7.938 kB / 0.6777 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1464, allocations: 0 / 0.6777 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.1464, allocations: 0 / 0.6777 GB, free: 8.281 MB / 0.5137 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.0007164/0.1472, allocations: 454.5 kB / 0.6781 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1472, allocations: 8.031 kB / 0.6781 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.31e-05/0.1472, allocations: 42.73 kB / 0.6782 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.1473, allocations: 12.88 kB / 0.6782 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.1475, allocations: 188.2 kB / 0.6783 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.1475, allocations: 8.375 kB / 0.6784 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.1475, allocations: 8.375 kB / 0.6784 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.1479, allocations: 117.5 kB / 0.6785 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.1479, allocations: 0 / 0.6785 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1479, allocations: 0 / 0.6785 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1479, allocations: 4 kB / 0.6785 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003179/0.1482, allocations: 87.86 kB / 0.6786 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000545/0.1488, allocations: 336.7 kB / 0.6789 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.1491, allocations: 102.5 kB / 0.679 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.1494, allocations: 76.92 kB / 0.6791 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.1494, allocations: 4 kB / 0.6791 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003364/0.1497, allocations: 123.3 kB / 0.6792 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.1497, allocations: 0 / 0.6792 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0007888/0.1505, allocations: 271.2 kB / 0.6794 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/0.1506, allocations: 89.09 kB / 0.6795 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.1507, allocations: 125.8 kB / 0.6796 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.1508, allocations: 33.7 kB / 0.6797 GB, free: 6 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.1508, allocations: 100 kB / 0.6798 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.1509, allocations: 15.97 kB / 0.6798 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.014e-05/0.151, allocations: 37.64 kB / 0.6798 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1511, allocations: 322.8 kB / 0.6801 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.1513, allocations: 67.95 kB / 0.6802 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.1515, allocations: 63.95 kB / 0.6803 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.1519, allocations: 185.9 kB / 0.6804 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1519, allocations: 0 / 0.6804 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005607/0.1525, allocations: 264.9 kB / 0.6807 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.244e-05/0.1525, allocations: 67.39 kB / 0.6807 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1526, allocations: 0 / 0.6807 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1526, allocations: 0 / 0.6807 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.1527, allocations: 19.92 kB / 0.6808 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1527, allocations: 0 / 0.6808 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.1529, allocations: 19.97 kB / 0.6808 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.1529, allocations: 8.188 kB / 0.6808 GB, free: 4.781 MB / 0.5137 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.0001354/0.1531, allocations: 156.2 kB / 0.6809 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.1531, allocations: 7.953 kB / 0.681 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/0.1531, allocations: 16.36 kB / 0.681 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1531, allocations: 4 kB / 0.681 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1532, allocations: 0 / 0.681 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1532, allocations: 3.938 kB / 0.681 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.1533, allocations: 197.5 kB / 0.6812 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1534, allocations: 0 / 0.6812 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.593e-05/0.1535, allocations: 19.98 kB / 0.6812 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1535, allocations: 0 / 0.6812 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.1535, allocations: 4 kB / 0.6812 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1535, allocations: 0 / 0.6812 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1535, allocations: 0 / 0.6812 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005378/0.154, allocations: 246.6 kB / 0.6814 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.541e-05/0.1541, allocations: 85.06 kB / 0.6815 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.1542, allocations: 7.984 kB / 0.6815 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.1543, allocations: 19.98 kB / 0.6815 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.1545, allocations: 35.95 kB / 0.6816 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.1545, allocations: 4 kB / 0.6816 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.476e-05/0.1546, allocations: 106.3 kB / 0.6817 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.924e-06/0.1546, allocations: 0 / 0.6817 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002188/0.1548, allocations: 27.94 kB / 0.6817 GB, free: 3.75 MB / 0.5137 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.0008579/0.1557, allocations: 0.7858 MB / 0.6825 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000544/0.1562, allocations: 274.6 kB / 0.6827 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1562, allocations: 0 / 0.6827 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002713/0.1565, allocations: 131.4 kB / 0.6828 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.1567, allocations: 15.98 kB / 0.6829 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.1593, allocations: 1.767 MB / 0.6846 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.1596, allocations: 0.6885 MB / 0.6853 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.562e-05/0.1597, allocations: 7.984 kB / 0.6853 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.044e-05/0.1597, allocations: 23.44 kB / 0.6853 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of SimCode: time 4.51e-07/0.1598, allocations: 7.938 kB / 0.6853 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.1838, allocations: 3.018 MB / 0.6882 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.885/8.069, allocations: 8 kB / 0.6883 GB, free: 12.96 MB / 0.5294 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)