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.003948/0.003948, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001229/0.00123, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.888/0.888, allocations: 143.3 MB / 433.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 64.77 kB / 0.5953 GB, free: 12.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1366, allocations: 82.03 MB / 0.6754 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002562/0.1392, allocations: 1.484 MB / 0.6768 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0007997/0.14, allocations: 458.9 kB / 0.6773 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.172e-05/0.1401, allocations: 0 / 0.6773 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.025e-05/0.1402, allocations: 11.88 kB / 0.6773 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.585e-05/0.1403, allocations: 19.86 kB / 0.6773 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.1405, allocations: 31.95 kB / 0.6773 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.1406, allocations: 107.7 kB / 0.6774 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.893e-05/0.1408, allocations: 16.17 kB / 0.6774 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.1409, allocations: 43.84 kB / 0.6775 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.141, allocations: 43.83 kB / 0.6775 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.141, allocations: 8 kB / 0.6775 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.997e-05/0.1411, allocations: 8 kB / 0.6775 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.876e-05/0.1411, allocations: 19.91 kB / 0.6776 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.515e-05/0.1412, allocations: 35.86 kB / 0.6776 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.1413, allocations: 83.97 kB / 0.6777 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1414, allocations: 0 / 0.6777 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of FrontEnd: time 8.81e-07/0.1414, allocations: 4 kB / 0.6777 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.1414, allocations: 0 / 0.6777 GB, free: 8.273 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.0007053/0.1421, allocations: 458.5 kB / 0.6781 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1421, allocations: 8.031 kB / 0.6781 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.865e-05/0.1422, allocations: 38.75 kB / 0.6782 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.1422, allocations: 8.891 kB / 0.6782 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.1424, allocations: 188.2 kB / 0.6783 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1424, allocations: 4.375 kB / 0.6784 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.1425, allocations: 16.31 kB / 0.6784 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/0.1428, allocations: 117.5 kB / 0.6785 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.1428, allocations: 3.984 kB / 0.6785 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.1428, allocations: 0 / 0.6785 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.1428, allocations: 4 kB / 0.6785 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.1432, allocations: 87.92 kB / 0.6786 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005591/0.1437, allocations: 336.7 kB / 0.6789 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/0.1441, allocations: 110.4 kB / 0.679 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.1443, allocations: 72.94 kB / 0.6791 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.1443, allocations: 4 kB / 0.6791 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003322/0.1446, allocations: 119.3 kB / 0.6792 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1447, allocations: 0 / 0.6792 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0007346/0.1454, allocations: 275.1 kB / 0.6794 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.1455, allocations: 89.11 kB / 0.6795 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.1456, allocations: 129.8 kB / 0.6797 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.1456, allocations: 29.7 kB / 0.6797 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.34e-05/0.1457, allocations: 100 kB / 0.6798 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.1457, allocations: 15.89 kB / 0.6798 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.547e-05/0.1458, allocations: 29.72 kB / 0.6798 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.146, allocations: 322.8 kB / 0.6801 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.1462, allocations: 71.95 kB / 0.6802 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.1464, allocations: 59.95 kB / 0.6803 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.1468, allocations: 185.9 kB / 0.6804 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1468, allocations: 256 / 0.6804 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005394/0.1473, allocations: 264.9 kB / 0.6807 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.879e-05/0.1474, allocations: 67.39 kB / 0.6808 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1474, allocations: 4 kB / 0.6808 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1474, allocations: 0 / 0.6808 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.1475, allocations: 15.98 kB / 0.6808 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1475, allocations: 3.938 kB / 0.6808 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.1477, allocations: 19.97 kB / 0.6808 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.1477, allocations: 15.88 kB / 0.6808 GB, free: 4.762 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.0001305/0.1479, allocations: 155.5 kB / 0.681 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.1479, allocations: 7.953 kB / 0.681 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.987e-05/0.1479, allocations: 12.38 kB / 0.681 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1479, allocations: 0 / 0.681 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1479, allocations: 0 / 0.681 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.148, allocations: 0 / 0.681 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.1481, allocations: 205.5 kB / 0.6812 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1481, allocations: 0 / 0.6812 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.824e-05/0.1482, allocations: 11.98 kB / 0.6812 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1482, allocations: 4 kB / 0.6812 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.1483, allocations: 4 kB / 0.6812 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1483, allocations: 0 / 0.6812 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.654e-06/0.1483, allocations: 3.984 kB / 0.6812 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005184/0.1488, allocations: 250.6 kB / 0.6814 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/0.1489, allocations: 81.06 kB / 0.6815 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.1489, allocations: 8 kB / 0.6815 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.1491, allocations: 23.97 kB / 0.6815 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.1492, allocations: 31.97 kB / 0.6816 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.1492, allocations: 4 kB / 0.6816 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.757e-05/0.1493, allocations: 105.9 kB / 0.6817 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1493, allocations: 0 / 0.6817 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002102/0.1495, allocations: 27.98 kB / 0.6817 GB, free: 3.734 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.0008501/0.1504, allocations: 0.7742 MB / 0.6825 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005416/0.1509, allocations: 274.7 kB / 0.6827 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1509, allocations: 4 kB / 0.6827 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002705/0.1512, allocations: 135.3 kB / 0.6829 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.1514, allocations: 15.12 kB / 0.6829 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.1539, allocations: 1.772 MB / 0.6846 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.1542, allocations: 0.6885 MB / 0.6853 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.37e-05/0.1543, allocations: 11.97 kB / 0.6853 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.701e-05/0.1543, allocations: 19.44 kB / 0.6853 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of SimCode: time 2.024e-06/0.1543, allocations: 0 / 0.6853 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/0.1777, allocations: 3.017 MB / 0.6882 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.205, allocations: 12 kB / 0.6883 GB, free: 12.95 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 & /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)