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.006762/0.006762, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.001588/0.001588, allocations: 186.7 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.9232/0.9232, allocations: 143 MB / 433.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 63.89 kB / 0.595 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3737, allocations: 82.02 MB / 0.6751 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.001945/0.3757, allocations: 1.479 MB / 0.6766 GB, free: 8 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006665/0.3764, allocations: 465.9 kB / 0.677 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.3764, allocations: 0 / 0.677 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 7.848e-05/0.3765, allocations: 5.125 kB / 0.677 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.359e-05/0.3766, allocations: 13.23 kB / 0.677 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.3768, allocations: 45.27 kB / 0.6771 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.3769, allocations: 93.81 kB / 0.6772 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.394e-05/0.377, allocations: 18.77 kB / 0.6772 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.3771, allocations: 50.58 kB / 0.6772 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.923e-05/0.3772, allocations: 39.45 kB / 0.6773 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.3772, allocations: 7.875 kB / 0.6773 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.64e-05/0.3773, allocations: 7.875 kB / 0.6773 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.385e-05/0.3773, allocations: 23.75 kB / 0.6773 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.003e-05/0.3774, allocations: 39.23 kB / 0.6773 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.3775, allocations: 83.08 kB / 0.6774 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.3775, allocations: 0 / 0.6774 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3775, allocations: 0 / 0.6774 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.3775, allocations: 0 / 0.6774 GB, free: 15.37 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.0006296/0.3782, allocations: 459.4 kB / 0.6779 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.3782, allocations: 9.312 kB / 0.6779 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.912e-05/0.3782, allocations: 37.02 kB / 0.6779 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.3783, allocations: 6.688 kB / 0.6779 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.3784, allocations: 188.6 kB / 0.6781 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.3785, allocations: 7.594 kB / 0.6781 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.3785, allocations: 7 kB / 0.6781 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/0.3788, allocations: 123 kB / 0.6782 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.3788, allocations: 4 kB / 0.6782 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.3788, allocations: 5.969 kB / 0.6782 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.3789, allocations: 0.9375 kB / 0.6782 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002885/0.3791, allocations: 87.11 kB / 0.6783 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.3796, allocations: 331.1 kB / 0.6786 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.3799, allocations: 110.3 kB / 0.6787 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.3801, allocations: 71.25 kB / 0.6788 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.3802, allocations: 5.125 kB / 0.6788 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/0.3804, allocations: 126.8 kB / 0.6789 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.3804, allocations: 1.156 kB / 0.6789 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006664/0.3811, allocations: 273 kB / 0.6792 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.3812, allocations: 89.19 kB / 0.6793 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.988e-05/0.3813, allocations: 127.9 kB / 0.6794 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.3813, allocations: 39.89 kB / 0.6794 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.92e-05/0.3814, allocations: 91.48 kB / 0.6795 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.3814, allocations: 20.33 kB / 0.6795 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.993e-05/0.3815, allocations: 33.19 kB / 0.6796 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.098e-05/0.3816, allocations: 324.4 kB / 0.6799 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.3817, allocations: 61.7 kB / 0.6799 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.3819, allocations: 70.2 kB / 0.68 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/0.3823, allocations: 182.9 kB / 0.6802 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3823, allocations: 1.406 kB / 0.6802 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004654/0.3827, allocations: 261.5 kB / 0.6804 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/0.3828, allocations: 66.02 kB / 0.6805 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3828, allocations: 3.984 kB / 0.6805 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3828, allocations: 5.156 kB / 0.6805 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.3829, allocations: 13.45 kB / 0.6805 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.383, allocations: 1.469 kB / 0.6805 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.3831, allocations: 28.41 kB / 0.6805 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.3831, allocations: 8.375 kB / 0.6805 GB, free: 12.64 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.0001006/0.3832, allocations: 149.7 kB / 0.6807 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.3833, allocations: 9.812 kB / 0.6807 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.3833, allocations: 21.64 kB / 0.6807 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3833, allocations: 1.469 kB / 0.6807 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3833, allocations: 0 / 0.6807 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3833, allocations: 0 / 0.6807 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.3835, allocations: 192.1 kB / 0.6809 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3835, allocations: 1.438 kB / 0.6809 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.309e-05/0.3836, allocations: 11.89 kB / 0.6809 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3836, allocations: 0 / 0.6809 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.3836, allocations: 7.125 kB / 0.6809 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3836, allocations: 3.938 kB / 0.6809 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3836, allocations: 5.562 kB / 0.6809 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004585/0.3841, allocations: 245.1 kB / 0.6812 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.3841, allocations: 83.48 kB / 0.6812 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.3841, allocations: 6.109 kB / 0.6813 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.3843, allocations: 20.36 kB / 0.6813 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.3844, allocations: 43.05 kB / 0.6813 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.3844, allocations: 3.406 kB / 0.6813 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.497e-05/0.3845, allocations: 106.5 kB / 0.6814 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3845, allocations: 1.125 kB / 0.6814 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001933/0.3847, allocations: 20.53 kB / 0.6814 GB, free: 11.84 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.0007538/0.3854, allocations: 0.785 MB / 0.6822 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004639/0.3859, allocations: 265.2 kB / 0.6825 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3859, allocations: 0 / 0.6825 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002332/0.3862, allocations: 146 kB / 0.6826 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.3864, allocations: 20.05 kB / 0.6826 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.3887, allocations: 1.756 MB / 0.6843 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.3889, allocations: 0.6942 MB / 0.685 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.705e-05/0.389, allocations: 9.297 kB / 0.685 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.389, allocations: 19.12 kB / 0.685 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.389, allocations: 0 / 0.685 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09856/0.4876, allocations: 3.008 MB / 0.688 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.675/8.162, allocations: 5.094 kB / 0.688 GB, free: 7.078 MB / 0.5137 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)