Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",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.001013/0.001013, allocations: 99.67 kB / 16.27 MB, free: 5.965 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.001148/0.001148, allocations: 189.9 kB / 17.2 MB, free: 5.594 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.244/1.244, allocations: 222.9 MB / 240.9 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7015/0.7015, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 71.84 kB / 0.4912 GB, free: 7.324 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2828, allocations: 77.91 MB / 0.5673 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002442/0.2853, allocations: 1.815 MB / 0.569 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002253/0.2855, allocations: 114.3 kB / 0.5692 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.055e-05/0.2856, allocations: 5.156 kB / 0.5692 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.82e-05/0.2857, allocations: 14.75 kB / 0.5692 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.641e-05/0.2858, allocations: 54.62 kB / 0.5692 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001048/0.2859, allocations: 36.02 kB / 0.5693 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.2861, allocations: 164.7 kB / 0.5694 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.2862, allocations: 29.95 kB / 0.5694 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.298e-05/0.2863, allocations: 49.02 kB / 0.5695 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.213e-05/0.2863, allocations: 71.42 kB / 0.5696 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.2864, allocations: 15.56 kB / 0.5696 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.64e-05/0.2864, allocations: 8.781 kB / 0.5696 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.645e-05/0.2864, allocations: 28.94 kB / 0.5696 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.732e-05/0.2865, allocations: 61.78 kB / 0.5697 GB, free: 31.06 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.2866, allocations: 125.5 kB / 0.5698 GB, free: 31.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.2867, allocations: 1.031 kB / 0.5698 GB, free: 31.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2867, allocations: 1.25 kB / 0.5698 GB, free: 31.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.2867, allocations: 5.125 kB / 0.5698 GB, free: 31 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006004/0.2873, allocations: 448 kB / 0.5702 GB, free: 30.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.2873, allocations: 10 kB / 0.5702 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.696e-05/0.2873, allocations: 37.77 kB / 0.5703 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.2874, allocations: 17.06 kB / 0.5703 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.2875, allocations: 210.1 kB / 0.5705 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.2876, allocations: 2.469 kB / 0.5705 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.2876, allocations: 9.25 kB / 0.5705 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.2878, allocations: 121 kB / 0.5706 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.2878, allocations: 3.938 kB / 0.5706 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.2879, allocations: 7.375 kB / 0.5706 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.2879, allocations: 2 kB / 0.5706 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/0.2881, allocations: 89.52 kB / 0.5707 GB, free: 30.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005405/0.2887, allocations: 475 kB / 0.5712 GB, free: 29.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.289, allocations: 134.4 kB / 0.5713 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.2892, allocations: 61.41 kB / 0.5713 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.2892, allocations: 5.156 kB / 0.5714 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.16e-05/0.2892, allocations: 38.06 kB / 0.5714 GB, free: 29.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.2892, allocations: 1.062 kB / 0.5714 GB, free: 29.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005042/0.2897, allocations: 182.5 kB / 0.5716 GB, free: 29.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.2898, allocations: 80.98 kB / 0.5716 GB, free: 29.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.2899, allocations: 167.2 kB / 0.5718 GB, free: 29.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.2899, allocations: 32.89 kB / 0.5718 GB, free: 29.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.2899, allocations: 107.6 kB / 0.5719 GB, free: 29.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.29, allocations: 30.42 kB / 0.572 GB, free: 29.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.29, allocations: 22.91 kB / 0.572 GB, free: 29.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.331e-05/0.2901, allocations: 325.7 kB / 0.5723 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.2902, allocations: 43.75 kB / 0.5723 GB, free: 28.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.2903, allocations: 59.86 kB / 0.5724 GB, free: 28.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/0.2906, allocations: 105.5 kB / 0.5725 GB, free: 28.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2906, allocations: 0.75 kB / 0.5725 GB, free: 28.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003096/0.2909, allocations: 145.2 kB / 0.5726 GB, free: 28.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.2909, allocations: 4.281 kB / 0.5726 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.291, allocations: 2.047 kB / 0.5726 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.291, allocations: 1.125 kB / 0.5726 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.2911, allocations: 27.28 kB / 0.5727 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.2911, allocations: 2.016 kB / 0.5727 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.2912, allocations: 24.41 kB / 0.5727 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.2913, allocations: 4.078 kB / 0.5727 GB, free: 28.69 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 5.662e-05/0.2913, allocations: 120.2 kB / 0.5728 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.972e-05/0.2914, allocations: 11.53 kB / 0.5728 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003751/0.2918, allocations: 156.6 kB / 0.573 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.2918, allocations: 1.906 kB / 0.573 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2918, allocations: 2.844 kB / 0.573 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2918, allocations: 4.547 kB / 0.573 GB, free: 28.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.292, allocations: 221.4 kB / 0.5732 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.292, allocations: 0 / 0.5732 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.2922, allocations: 24.03 kB / 0.5732 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2922, allocations: 1.906 kB / 0.5732 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.2922, allocations: 4 kB / 0.5732 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.2922, allocations: 1.516 kB / 0.5732 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2922, allocations: 5 kB / 0.5732 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.2925, allocations: 310.9 kB / 0.5735 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.651e-05/0.2925, allocations: 96.41 kB / 0.5736 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.2926, allocations: 5.156 kB / 0.5736 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.2927, allocations: 13.39 kB / 0.5736 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.2928, allocations: 11.12 kB / 0.5736 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.2928, allocations: 6.969 kB / 0.5737 GB, free: 27.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.526e-05/0.2929, allocations: 121.4 kB / 0.5738 GB, free: 27.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2929, allocations: 2.562 kB / 0.5738 GB, free: 27.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.2932, allocations: 33.69 kB / 0.5738 GB, free: 27.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004577/0.2936, allocations: 0.8381 MB / 0.5746 GB, free: 27.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003086/0.2939, allocations: 108.7 kB / 0.5747 GB, free: 27.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2939, allocations: 192 / 0.5747 GB, free: 27.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.2941, allocations: 58.72 kB / 0.5748 GB, free: 27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.2945, allocations: 53.14 kB / 0.5748 GB, free: 26.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.2962, allocations: 1.823 MB / 0.5766 GB, free: 25.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.2963, allocations: 0.7073 MB / 0.5773 GB, free: 24.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.711e-05/0.2964, allocations: 15.62 kB / 0.5773 GB, free: 24.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.086e-05/0.2964, allocations: 36.67 kB / 0.5774 GB, free: 24.77 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.2964, allocations: 2.406 kB / 0.5774 GB, free: 24.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.353/0.6495, allocations: 3.592 MB / 0.5809 GB, free: 24.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.701/8.35, allocations: 9.094 kB / 0.5809 GB, free: 24.01 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)