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.0008592/0.0008592, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.004966/0.004966, allocations: 172 kB / 16.26 MB, free: 6.613 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.169/1.169, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.8576/0.8576, allocations: 143.2 MB / 434.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002603/0.0002603, allocations: 8 kB / 0.5165 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1206, allocations: 83.42 MB / 0.598 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.001276/0.1219, allocations: 1.202 MB / 0.5991 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005808/0.1225, allocations: 443 kB / 0.5996 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.034e-05/0.1226, allocations: 7.938 kB / 0.5996 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.401e-05/0.1226, allocations: 11.92 kB / 0.5996 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.903e-05/0.1227, allocations: 3.938 kB / 0.5996 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.1228, allocations: 31.95 kB / 0.5996 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.444e-05/0.123, allocations: 87.77 kB / 0.5997 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.738e-05/0.123, allocations: 24.11 kB / 0.5997 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.441e-05/0.1231, allocations: 43.83 kB / 0.5998 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.81e-05/0.1232, allocations: 39.83 kB / 0.5998 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.1232, allocations: 4 kB / 0.5998 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.318e-05/0.1233, allocations: 4 kB / 0.5998 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.847e-05/0.1233, allocations: 4 kB / 0.5998 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.88e-05/0.1234, allocations: 65.48 kB / 0.5999 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.463e-05/0.1235, allocations: 76.02 kB / 0.5999 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1235, allocations: 4 kB / 0.5999 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1235, allocations: 4 kB / 0.5999 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.615e-06/0.1235, allocations: 0 / 0.5999 GB, free: 5.508 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.0005104/0.124, allocations: 438.7 kB / 0.6004 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.124, allocations: 8.031 kB / 0.6004 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.615e-05/0.1241, allocations: 38.75 kB / 0.6004 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/0.1241, allocations: 12.84 kB / 0.6004 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.1242, allocations: 192.2 kB / 0.6006 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.1243, allocations: 384 / 0.6006 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.1243, allocations: 8.375 kB / 0.6006 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.1246, allocations: 125.5 kB / 0.6007 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.99e-06/0.1246, allocations: 0 / 0.6007 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.1246, allocations: 4 kB / 0.6007 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1246, allocations: 4 kB / 0.6007 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.1249, allocations: 103.9 kB / 0.6008 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.1254, allocations: 344.7 kB / 0.6012 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.1257, allocations: 122.4 kB / 0.6013 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.1259, allocations: 80.94 kB / 0.6014 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.1259, allocations: 0 / 0.6014 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000279/0.1262, allocations: 131.3 kB / 0.6015 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1262, allocations: 0 / 0.6015 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006515/0.1268, allocations: 303.1 kB / 0.6018 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.1269, allocations: 85.11 kB / 0.6019 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.757e-05/0.127, allocations: 121.8 kB / 0.602 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.127, allocations: 37.7 kB / 0.602 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.1271, allocations: 96.05 kB / 0.6021 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.1271, allocations: 15.83 kB / 0.6021 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.1271, allocations: 17.72 kB / 0.6021 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.042e-05/0.1272, allocations: 330.7 kB / 0.6025 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.1274, allocations: 75.89 kB / 0.6025 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.1276, allocations: 71.95 kB / 0.6026 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/0.1279, allocations: 201.9 kB / 0.6028 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.1279, allocations: 0 / 0.6028 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000467/0.1284, allocations: 276.8 kB / 0.603 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.973e-05/0.1284, allocations: 67.39 kB / 0.6031 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.1284, allocations: 0 / 0.6031 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.1285, allocations: 0 / 0.6031 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.1286, allocations: 15.98 kB / 0.6031 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.1286, allocations: 4 kB / 0.6031 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.1287, allocations: 36.12 kB / 0.6032 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.1288, allocations: 15.88 kB / 0.6032 GB, free: 1.891 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.129e-05/0.1289, allocations: 147.5 kB / 0.6033 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.1289, allocations: 7.906 kB / 0.6033 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.513e-05/0.1289, allocations: 16.36 kB / 0.6033 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.1289, allocations: 0 / 0.6033 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.1289, allocations: 0 / 0.6033 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1289, allocations: 0 / 0.6033 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.1291, allocations: 201.6 kB / 0.6035 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1291, allocations: 4 kB / 0.6035 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.311e-05/0.1292, allocations: 15.98 kB / 0.6036 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.1292, allocations: 0 / 0.6036 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.1292, allocations: 4 kB / 0.6036 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1292, allocations: 96 / 0.6036 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1292, allocations: 3.938 kB / 0.6036 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004587/0.1297, allocations: 270.5 kB / 0.6038 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.207e-05/0.1297, allocations: 85.05 kB / 0.6039 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.1297, allocations: 7.984 kB / 0.6039 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.1299, allocations: 27.98 kB / 0.6039 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.392e-05/0.13, allocations: 35.95 kB / 0.604 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.13, allocations: 4 kB / 0.604 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.143e-05/0.1301, allocations: 106 kB / 0.6041 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1301, allocations: 0 / 0.6041 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001896/0.1303, allocations: 20 kB / 0.6041 GB, free: 0.8438 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.0006635/0.1309, allocations: 0.8055 MB / 0.6049 GB, free: 4 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.1997/0.3307, allocations: 273 kB / 0.6051 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3307, allocations: 4.422 kB / 0.6051 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002252/0.3309, allocations: 147.2 kB / 0.6053 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.3311, allocations: 18.2 kB / 0.6053 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.3329, allocations: 1.793 MB / 0.6071 GB, free: 39.42 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.468e-05/0.333, allocations: 0.693 MB / 0.6077 GB, free: 38.72 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.422e-05/0.333, allocations: 10.39 kB / 0.6077 GB, free: 38.72 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.3331, allocations: 17.72 kB / 0.6078 GB, free: 38.71 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.3331, allocations: 0.5625 kB / 0.6078 GB, free: 38.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.139/1.472, allocations: 2.541 MB / 0.6102 GB, free: 38.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/1.473, allocations: 217.9 kB / 0.6104 GB, free: 38.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/3.428, allocations: 0 / 0.6104 GB, free: 38.34 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)