Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.001001/0.001001, allocations: 102.9 kB / 16.27 MB, free: 6.41 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.001116/0.001116, allocations: 188.9 kB / 17.2 MB, free: 5.949 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.24/1.24, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7192/0.7192, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.88 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2852, allocations: 77.91 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002343/0.2876, allocations: 1.571 MB / 0.5688 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.2887, allocations: 0.8997 MB / 0.5697 GB, free: 31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.728e-05/0.2888, allocations: 0.9375 kB / 0.5697 GB, free: 31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.852e-05/0.2888, allocations: 9.422 kB / 0.5697 GB, free: 30.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.289, allocations: 27.83 kB / 0.5697 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.2893, allocations: 138.4 kB / 0.5699 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000103/0.2894, allocations: 75.8 kB / 0.5699 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.498e-05/0.2895, allocations: 17.64 kB / 0.57 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.102e-05/0.2896, allocations: 37.94 kB / 0.57 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.2897, allocations: 36.02 kB / 0.57 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.2897, allocations: 5.75 kB / 0.57 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003567/0.2901, allocations: 284.5 kB / 0.5703 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/0.2901, allocations: 16.14 kB / 0.5703 GB, free: 30.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.2901, allocations: 33.11 kB / 0.5703 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.2903, allocations: 144.3 kB / 0.5705 GB, free: 30.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.2903, allocations: 1.641 kB / 0.5705 GB, free: 30.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2904, allocations: 0 / 0.5705 GB, free: 30.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.2904, allocations: 1.594 kB / 0.5705 GB, free: 30.7 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004369/0.2908, allocations: 405.6 kB / 0.5709 GB, free: 30.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.2908, allocations: 11.56 kB / 0.5709 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.772e-05/0.2909, allocations: 36.91 kB / 0.5709 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.291, allocations: 12.06 kB / 0.5709 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.2911, allocations: 194.3 kB / 0.5711 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-06/0.2911, allocations: 1.438 kB / 0.5711 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.2911, allocations: 8.625 kB / 0.5711 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.2913, allocations: 65.09 kB / 0.5712 GB, free: 29.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.2913, allocations: 0 / 0.5712 GB, free: 29.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.2913, allocations: 0 / 0.5712 GB, free: 29.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2913, allocations: 2.5 kB / 0.5712 GB, free: 29.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.2915, allocations: 45.05 kB / 0.5712 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.2918, allocations: 297.8 kB / 0.5715 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.292, allocations: 56.02 kB / 0.5716 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.529e-05/0.2921, allocations: 30.94 kB / 0.5716 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.2921, allocations: 2.125 kB / 0.5716 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.365e-05/0.2921, allocations: 32.02 kB / 0.5716 GB, free: 29.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.2921, allocations: 0 / 0.5716 GB, free: 29.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003245/0.2924, allocations: 107.8 kB / 0.5717 GB, free: 29.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.2925, allocations: 56.09 kB / 0.5718 GB, free: 29.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.639e-05/0.2925, allocations: 136.3 kB / 0.5719 GB, free: 29.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.2926, allocations: 26.2 kB / 0.5719 GB, free: 29.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.2926, allocations: 100.3 kB / 0.572 GB, free: 29.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.2926, allocations: 19.09 kB / 0.5721 GB, free: 29.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.2926, allocations: 20.3 kB / 0.5721 GB, free: 29.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.917e-05/0.2927, allocations: 323.1 kB / 0.5724 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.91e-05/0.2928, allocations: 27.58 kB / 0.5724 GB, free: 28.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.837e-05/0.2929, allocations: 21.33 kB / 0.5724 GB, free: 28.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.293, allocations: 51.7 kB / 0.5725 GB, free: 28.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.293, allocations: 0.6094 kB / 0.5725 GB, free: 28.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002016/0.2932, allocations: 93.28 kB / 0.5726 GB, free: 28.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.2932, allocations: 6.422 kB / 0.5726 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.2932, allocations: 0 / 0.5726 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.2933, allocations: 4.953 kB / 0.5726 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.2934, allocations: 16.25 kB / 0.5726 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.2934, allocations: 0.75 kB / 0.5726 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.029e-05/0.2935, allocations: 8.781 kB / 0.5726 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.2935, allocations: 2.891 kB / 0.5726 GB, free: 28.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 4.861e-05/0.2935, allocations: 117.8 kB / 0.5727 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.2936, allocations: 8.031 kB / 0.5727 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.2938, allocations: 113.2 kB / 0.5728 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2938, allocations: 1.219 kB / 0.5728 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2938, allocations: 0.8125 kB / 0.5728 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.2938, allocations: 0.6562 kB / 0.5728 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.294, allocations: 185 kB / 0.573 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.294, allocations: 1.781 kB / 0.573 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.551e-05/0.2941, allocations: 14.58 kB / 0.573 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2941, allocations: 4 kB / 0.573 GB, free: 28.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.2941, allocations: 2.672 kB / 0.573 GB, free: 28.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2941, allocations: 0.5625 kB / 0.573 GB, free: 28.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2941, allocations: 1.469 kB / 0.573 GB, free: 28.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.2943, allocations: 190.7 kB / 0.5732 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.864e-05/0.2943, allocations: 82.7 kB / 0.5733 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.2944, allocations: 2.047 kB / 0.5733 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-05/0.2945, allocations: 11.59 kB / 0.5733 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.2945, allocations: 7.688 kB / 0.5733 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.2945, allocations: 2.109 kB / 0.5733 GB, free: 28.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.239e-05/0.2946, allocations: 100.4 kB / 0.5734 GB, free: 28.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2946, allocations: 0 / 0.5734 GB, free: 28.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002362/0.2948, allocations: 23.12 kB / 0.5734 GB, free: 28.06 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0003907/0.2952, allocations: 0.7307 MB / 0.5742 GB, free: 27.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.2954, allocations: 66.84 kB / 0.5742 GB, free: 27.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2954, allocations: 3.938 kB / 0.5742 GB, free: 27.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.039e-05/0.2955, allocations: 33.45 kB / 0.5743 GB, free: 27.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.2958, allocations: 6.5 kB / 0.5743 GB, free: 27.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.297, allocations: 1.453 MB / 0.5757 GB, free: 26.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.602e-05/0.2971, allocations: 0.6911 MB / 0.5764 GB, free: 25.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.659e-05/0.2971, allocations: 11.06 kB / 0.5764 GB, free: 25.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.158e-05/0.2972, allocations: 24.69 kB / 0.5764 GB, free: 25.36 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2972, allocations: 1 kB / 0.5764 GB, free: 25.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01714/0.3143, allocations: 2.271 MB / 0.5786 GB, free: 25.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.546/7.86, allocations: 5.141 kB / 0.5786 GB, free: 25.03 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)