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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.001065/0.001065, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.001413/0.001413, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.748/1.748, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.246/1.246, allocations: 143.4 MB / 434.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005375/0.0005378, allocations: 12 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2417, allocations: 83.41 MB / 0.5975 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002339/0.2441, allocations: 1.178 MB / 0.5987 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009292/0.2451, allocations: 431.3 kB / 0.5991 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.987e-05/0.2452, allocations: 4 kB / 0.5991 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.436e-05/0.2453, allocations: 0 / 0.5991 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.027e-05/0.2454, allocations: 15.84 kB / 0.5991 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.2456, allocations: 27.97 kB / 0.5991 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.2458, allocations: 79.77 kB / 0.5992 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.2459, allocations: 16.17 kB / 0.5992 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.2461, allocations: 43.83 kB / 0.5993 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.2463, allocations: 35.89 kB / 0.5993 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.526e-05/0.2463, allocations: 4 kB / 0.5993 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.951e-05/0.2463, allocations: 7.938 kB / 0.5993 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.863e-05/0.2464, allocations: 8 kB / 0.5993 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.048e-05/0.2464, allocations: 37.64 kB / 0.5994 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.2466, allocations: 52.16 kB / 0.5994 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.2466, allocations: 4 kB / 0.5994 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.434e-06/0.2466, allocations: 0 / 0.5994 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.2466, allocations: 0 / 0.5994 GB, free: 5.762 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.0007744/0.2474, allocations: 446.4 kB / 0.5998 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.2474, allocations: 12.03 kB / 0.5999 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.795e-05/0.2475, allocations: 34.56 kB / 0.5999 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.297e-05/0.2476, allocations: 11.91 kB / 0.5999 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.2478, allocations: 194.8 kB / 0.6001 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.2479, allocations: 8 kB / 0.6001 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.2479, allocations: 8 kB / 0.6001 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.2482, allocations: 125.5 kB / 0.6002 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.2483, allocations: 0 / 0.6002 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.2483, allocations: 4 kB / 0.6002 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.2483, allocations: 0 / 0.6002 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/0.2486, allocations: 103.9 kB / 0.6003 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006096/0.2492, allocations: 344.8 kB / 0.6006 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/0.2496, allocations: 122.5 kB / 0.6008 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.2498, allocations: 80.88 kB / 0.6008 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.2498, allocations: 0 / 0.6008 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003617/0.2502, allocations: 135.3 kB / 0.601 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.724e-06/0.2502, allocations: 0 / 0.601 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0007663/0.2509, allocations: 303.1 kB / 0.6013 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/0.251, allocations: 89.05 kB / 0.6013 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.2512, allocations: 125.8 kB / 0.6015 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.2512, allocations: 29.7 kB / 0.6015 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.579e-05/0.2513, allocations: 100 kB / 0.6016 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.2513, allocations: 19.75 kB / 0.6016 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/0.2514, allocations: 4 kB / 0.6016 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.2515, allocations: 322.8 kB / 0.6019 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.2517, allocations: 67.95 kB / 0.602 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.2519, allocations: 75.95 kB / 0.6021 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.2522, allocations: 111.4 kB / 0.6022 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2522, allocations: 0 / 0.6022 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005521/0.2527, allocations: 280.8 kB / 0.6024 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.297e-05/0.2528, allocations: 59.41 kB / 0.6025 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2528, allocations: 0 / 0.6025 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.2528, allocations: 0 / 0.6025 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.253, allocations: 32 kB / 0.6025 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.253, allocations: 7.891 kB / 0.6025 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.2532, allocations: 23.98 kB / 0.6025 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.2532, allocations: 4 kB / 0.6026 GB, free: 2.254 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 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001615/0.2534, allocations: 155.5 kB / 0.6027 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.2534, allocations: 7.906 kB / 0.6027 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.2535, allocations: 16.38 kB / 0.6027 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2535, allocations: 0 / 0.6027 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.2535, allocations: 0 / 0.6027 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.2535, allocations: 11.88 kB / 0.6027 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.2537, allocations: 189.7 kB / 0.6029 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2537, allocations: 0 / 0.6029 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.207e-05/0.2538, allocations: 19.97 kB / 0.6029 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2538, allocations: 0 / 0.6029 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.2538, allocations: 8 kB / 0.6029 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.2538, allocations: 4 kB / 0.6029 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2539, allocations: 0 / 0.6029 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005328/0.2544, allocations: 262.6 kB / 0.6032 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/0.2545, allocations: 88.95 kB / 0.6033 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.2545, allocations: 0 / 0.6033 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.2547, allocations: 28.28 kB / 0.6033 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.2548, allocations: 39.95 kB / 0.6033 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.2548, allocations: 8 kB / 0.6034 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.899e-05/0.2549, allocations: 101.9 kB / 0.6035 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.672e-06/0.2549, allocations: 4 kB / 0.6035 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002326/0.2552, allocations: 27.92 kB / 0.6035 GB, free: 1.191 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009208/0.2561, allocations: 0.7936 MB / 0.6043 GB, free: 372 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005811/0.2567, allocations: 282.6 kB / 0.6045 GB, free: 64 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2567, allocations: 0 / 0.6045 GB, free: 64 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.4261/0.6829, allocations: 144 kB / 0.6047 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.6833, allocations: 17.22 kB / 0.6047 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.6852, allocations: 0.7768 MB / 0.6054 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.6854, allocations: 0.6917 MB / 0.6061 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.7e-05/0.6855, allocations: 7.406 kB / 0.6061 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.868e-05/0.6855, allocations: 22.8 kB / 0.6061 GB, free: 39.78 MB / 0.4981 GB Notification: Performance of SimCode: time 1.844e-06/0.6855, allocations: 2.078 kB / 0.6061 GB, free: 39.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01433/0.6999, allocations: 2.515 MB / 0.6086 GB, free: 39.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.7001, allocations: 210.3 kB / 0.6088 GB, free: 39.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.178/2.878, allocations: 0 / 0.6088 GB, free: 39.43 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/linux/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) Environment - environmentSimulation: