Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_IDEAS_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.001198/0.001198, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.232/1.232, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6976/0.6976, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 60.92 kB / 0.5019 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3152, allocations: 80.2 MB / 0.5802 GB, free: 4.438 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002273/0.3175, allocations: 1.825 MB / 0.582 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002238/0.3178, allocations: 119.8 kB / 0.5821 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.89e-05/0.3178, allocations: 1.156 kB / 0.5821 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.239e-05/0.3179, allocations: 17.3 kB / 0.5821 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.313e-05/0.318, allocations: 44.73 kB / 0.5821 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000104/0.3181, allocations: 35.86 kB / 0.5822 GB, free: 3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.3183, allocations: 168.6 kB / 0.5823 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.609e-05/0.3184, allocations: 26.59 kB / 0.5824 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.648e-05/0.3185, allocations: 56.86 kB / 0.5824 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.735e-05/0.3186, allocations: 71.77 kB / 0.5825 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.3186, allocations: 13.69 kB / 0.5825 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.761e-05/0.3186, allocations: 10.81 kB / 0.5825 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.55e-05/0.3187, allocations: 23.84 kB / 0.5825 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.166e-05/0.3187, allocations: 61.56 kB / 0.5826 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.3189, allocations: 121.9 kB / 0.5827 GB, free: 2.754 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3189, allocations: 0 / 0.5827 GB, free: 2.754 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3189, allocations: 0.9688 kB / 0.5827 GB, free: 2.754 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.3189, allocations: 0 / 0.5827 GB, free: 2.754 MB / 430.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.0006135/0.3195, allocations: 453.4 kB / 0.5831 GB, free: 2.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.3196, allocations: 9.531 kB / 0.5831 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.914e-05/0.3196, allocations: 39.72 kB / 0.5832 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.3196, allocations: 15.25 kB / 0.5832 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.3198, allocations: 220.3 kB / 0.5834 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.3198, allocations: 7.969 kB / 0.5834 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.3198, allocations: 8.438 kB / 0.5834 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.3201, allocations: 119.8 kB / 0.5835 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.3201, allocations: 3.938 kB / 0.5835 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.3201, allocations: 4.75 kB / 0.5835 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3201, allocations: 2.062 kB / 0.5835 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002759/0.3204, allocations: 94.5 kB / 0.5836 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005488/0.321, allocations: 479.7 kB / 0.5841 GB, free: 1.527 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003259/0.3213, allocations: 127.7 kB / 0.5842 GB, free: 1.449 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.3215, allocations: 62.31 kB / 0.5843 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.3215, allocations: 2.469 kB / 0.5843 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.251e-05/0.3215, allocations: 36.7 kB / 0.5843 GB, free: 1.375 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.3215, allocations: 0 / 0.5843 GB, free: 1.375 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005269/0.322, allocations: 186.2 kB / 0.5845 GB, free: 1.293 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/0.3221, allocations: 78.95 kB / 0.5846 GB, free: 1.199 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.3222, allocations: 169.7 kB / 0.5847 GB, free: 1.078 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.3222, allocations: 31.66 kB / 0.5848 GB, free: 1.043 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/0.3222, allocations: 104.1 kB / 0.5849 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.3223, allocations: 33.94 kB / 0.5849 GB, free: 0.918 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.3223, allocations: 29.36 kB / 0.5849 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.937e-05/0.3224, allocations: 326.3 kB / 0.5852 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.3225, allocations: 43.36 kB / 0.5853 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.3226, allocations: 55.88 kB / 0.5853 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.3229, allocations: 109.7 kB / 0.5854 GB, free: 492 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3229, allocations: 0 / 0.5854 GB, free: 492 kB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003276/0.3233, allocations: 138 kB / 0.5856 GB, free: 428 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.3233, allocations: 6.062 kB / 0.5856 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3233, allocations: 0.9062 kB / 0.5856 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.3233, allocations: 4.656 kB / 0.5856 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.3235, allocations: 30.19 kB / 0.5856 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.3235, allocations: 1.375 kB / 0.5856 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.3236, allocations: 21.81 kB / 0.5856 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.3236, allocations: 3.5 kB / 0.5856 GB, free: 404 kB / 430.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.487e-05/0.3237, allocations: 118.9 kB / 0.5857 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/0.3237, allocations: 10.84 kB / 0.5858 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003896/0.3241, allocations: 163.7 kB / 0.5859 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3241, allocations: 0.7188 kB / 0.5859 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.3241, allocations: 1.344 kB / 0.5859 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3241, allocations: 4.734 kB / 0.5859 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.3244, allocations: 221.1 kB / 0.5861 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3244, allocations: 0.5 kB / 0.5861 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.3245, allocations: 26 kB / 0.5861 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3245, allocations: 1.188 kB / 0.5862 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.3246, allocations: 4.531 kB / 0.5862 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3246, allocations: 5.609 kB / 0.5862 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3246, allocations: 1.125 kB / 0.5862 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003983/0.325, allocations: 314.2 kB / 0.5865 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.409e-05/0.325, allocations: 89.53 kB / 0.5865 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.3251, allocations: 10.84 kB / 0.5866 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.3252, allocations: 7.812 kB / 0.5866 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.3253, allocations: 11.44 kB / 0.5866 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.3253, allocations: 5.719 kB / 0.5866 GB, free: 15.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.774e-05/0.3254, allocations: 128.8 kB / 0.5867 GB, free: 15.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3254, allocations: 0 / 0.5867 GB, free: 15.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002829/0.3257, allocations: 32.75 kB / 0.5867 GB, free: 15.48 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.0006641/0.3264, allocations: 0.8387 MB / 0.5876 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003421/0.3267, allocations: 108.5 kB / 0.5877 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3267, allocations: 0 / 0.5877 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.3269, allocations: 56.48 kB / 0.5877 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/0.3273, allocations: 40.58 kB / 0.5877 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.3294, allocations: 1.819 MB / 0.5895 GB, free: 13.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.3297, allocations: 0.7067 MB / 0.5902 GB, free: 12.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.807e-05/0.3298, allocations: 14.17 kB / 0.5902 GB, free: 12.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.923e-05/0.3299, allocations: 36.27 kB / 0.5903 GB, free: 12.45 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3299, allocations: 0 / 0.5903 GB, free: 12.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.735/3.065, allocations: 3.583 MB / 0.5938 GB, free: 11.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/14.43, allocations: 6.391 kB / 0.5938 GB, free: 11.88 MB / 446.1 MB (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)