Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.491/1.491, allocations: 252 MB / 267.3 MB, free: 10.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001421/0.001422, allocations: 176.9 kB / 327 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.157/2.157, allocations: 205.4 MB / 0.578 GB, free: 20.09 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009242/0.0009243, allocations: 90.3 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003967, allocations: 13.12 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2605, allocations: 106.3 MB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002776/0.2633, allocations: 1.861 MB / 0.9027 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002015/0.2654, allocations: 1.038 MB / 0.9038 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.2657, allocations: 7.938 kB / 0.9038 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 6.417e-05/0.2658, allocations: 19.84 kB / 0.9038 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005021/0.2663, allocations: 75.41 kB / 0.9039 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00054/0.2668, allocations: 143.8 kB / 0.904 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000406/0.2672, allocations: 278.8 kB / 0.9043 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.2674, allocations: 60.66 kB / 0.9043 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.2676, allocations: 91.58 kB / 0.9044 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.2679, allocations: 127.3 kB / 0.9045 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.47e-05/0.2679, allocations: 8 kB / 0.9045 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004492/0.2684, allocations: 279.7 kB / 0.9048 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.88e-05/0.2684, allocations: 43.77 kB / 0.9048 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.2686, allocations: 125 kB / 0.905 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004336/0.269, allocations: 311.2 kB / 0.9053 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.269, allocations: 0 / 0.9053 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.805e-06/0.269, allocations: 3.938 kB / 0.9053 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.269, allocations: 4 kB / 0.9053 GB, free: 58.88 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001104/0.2702, allocations: 0.6079 MB / 0.9059 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.2702, allocations: 8.031 kB / 0.9059 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.299e-05/0.2703, allocations: 46.73 kB / 0.9059 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002706/0.2706, allocations: 40.56 kB / 0.9059 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.2709, allocations: 275.6 kB / 0.9062 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.2709, allocations: 12.66 kB / 0.9062 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.271, allocations: 16.38 kB / 0.9062 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005379/0.2715, allocations: 260.3 kB / 0.9065 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.2716, allocations: 3.984 kB / 0.9065 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.2716, allocations: 8 kB / 0.9065 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.2716, allocations: 4 kB / 0.9065 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006585/0.2723, allocations: 247.7 kB / 0.9067 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.2734, allocations: 0.9463 MB / 0.9077 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007472/0.2742, allocations: 261.2 kB / 0.9079 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/0.2745, allocations: 137.8 kB / 0.908 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.2746, allocations: 3.984 kB / 0.908 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.2746, allocations: 38.56 kB / 0.9081 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.2746, allocations: 0 / 0.9081 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.001135/0.2757, allocations: 401.1 kB / 0.9085 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.2758, allocations: 77.11 kB / 0.9085 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.276, allocations: 270.9 kB / 0.9088 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.276, allocations: 29.7 kB / 0.9088 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.273e-05/0.2761, allocations: 152.2 kB / 0.909 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.2762, allocations: 59.19 kB / 0.909 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.146e-05/0.2762, allocations: 4 kB / 0.909 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.438e-05/0.2763, allocations: 342.8 kB / 0.9094 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003115/0.2766, allocations: 107.9 kB / 0.9095 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003238/0.2769, allocations: 165 kB / 0.9096 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006218/0.2776, allocations: 285.7 kB / 0.9099 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2776, allocations: 0 / 0.9099 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007908/0.2784, allocations: 344.9 kB / 0.9102 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.2784, allocations: 8 kB / 0.9102 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2784, allocations: 0 / 0.9102 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.2784, allocations: 4.094 kB / 0.9102 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.2787, allocations: 75.95 kB / 0.9103 GB, free: 53.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.2787, allocations: 4 kB / 0.9103 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.279, allocations: 51.7 kB / 0.9104 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.279, allocations: 12 kB / 0.9104 GB, free: 53.33 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 0.0001095/0.2791, allocations: 133.7 kB / 0.9105 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.2792, allocations: 31.66 kB / 0.9105 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007646/0.28, allocations: 335.8 kB / 0.9108 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.28, allocations: 4 kB / 0.9108 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.28, allocations: 0 / 0.9108 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.2801, allocations: 0 / 0.9108 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003354/0.2804, allocations: 301.3 kB / 0.9111 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.2804, allocations: 0 / 0.9111 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.2807, allocations: 59.95 kB / 0.9112 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.2807, allocations: 4 kB / 0.9112 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/0.2807, allocations: 4 kB / 0.9112 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.2807, allocations: 4 kB / 0.9112 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2808, allocations: 4 kB / 0.9112 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007869/0.2815, allocations: 491.4 kB / 0.9117 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.2816, allocations: 104.7 kB / 0.9118 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.2817, allocations: 4 kB / 0.9118 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.2819, allocations: 43.95 kB / 0.9118 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/0.282, allocations: 15.98 kB / 0.9118 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.282, allocations: 4 kB / 0.9118 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001544/0.2822, allocations: 190 kB / 0.912 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2822, allocations: 0 / 0.912 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003358/0.2825, allocations: 59.92 kB / 0.9121 GB, free: 51.47 MB / 0.6042 GB 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 (20): * Single equations (assignments): 20 * 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.001126/0.2837, allocations: 1.042 MB / 0.9131 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007507/0.2844, allocations: 264 kB / 0.9133 GB, free: 50.15 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.2844, allocations: 4 kB / 0.9134 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003438/0.2848, allocations: 139.9 kB / 0.9135 GB, free: 50.01 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006009/0.2854, allocations: 70.31 kB / 0.9136 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003667/0.2891, allocations: 2.9 MB / 0.9164 GB, free: 46.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.2893, allocations: 0.748 MB / 0.9171 GB, free: 46.14 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001715/0.2895, allocations: 26.3 kB / 0.9171 GB, free: 46.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.2896, allocations: 83.39 kB / 0.9172 GB, free: 46.04 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2896, allocations: 0 / 0.9172 GB, free: 46.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.3071, allocations: 5.903 MB / 0.923 GB, free: 40.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/0.3073, allocations: 219.9 kB / 0.9232 GB, free: 40.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.197/2.505, allocations: 0 / 0.9232 GB, free: 40.12 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)