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.542/1.542, allocations: 249.3 MB / 261.8 MB, free: 5.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 176.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.807/1.807, allocations: 205.2 MB / 0.572 GB, free: 10.71 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.0009388/0.0009386, allocations: 103.7 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.477e-05/5.493e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2825, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8619/1.144, allocations: 134.1 MB / 1.023 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/1.145, allocations: 78.89 kB / 1.023 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02319/1.168, allocations: 7.531 MB / 1.03 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.304e-06/1.168, allocations: 0 / 1.03 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.886e-05/1.168, allocations: 4 kB / 1.03 GB, free: 10.23 MB / 0.6511 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.00107/1.169, allocations: 0.5693 MB / 1.031 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.603e-05/1.169, allocations: 8.031 kB / 1.031 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.787e-05/1.169, allocations: 53.05 kB / 1.031 GB, free: 9.57 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002389/1.17, allocations: 27.72 kB / 1.031 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005254/1.17, allocations: 304.1 kB / 1.031 GB, free: 9.223 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/1.17, allocations: 7.719 kB / 1.031 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/1.17, allocations: 11.38 kB / 1.031 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003283/1.17, allocations: 186.4 kB / 1.031 GB, free: 9.047 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/1.171, allocations: 0 / 1.031 GB, free: 9.047 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/1.171, allocations: 7.297 kB / 1.031 GB, free: 9.043 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/1.171, allocations: 4 kB / 1.031 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002083/1.171, allocations: 104.2 kB / 1.031 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/1.172, allocations: 0.9639 MB / 1.032 GB, free: 8.023 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/1.173, allocations: 194.2 kB / 1.033 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/1.173, allocations: 56.28 kB / 1.033 GB, free: 7.812 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/1.173, allocations: 4 kB / 1.033 GB, free: 7.809 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/1.173, allocations: 30.56 kB / 1.033 GB, free: 7.77 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/1.173, allocations: 4 kB / 1.033 GB, free: 7.766 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0004502/1.173, allocations: 162.4 kB / 1.033 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/1.173, allocations: 85.09 kB / 1.033 GB, free: 7.531 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/1.174, allocations: 227.6 kB / 1.033 GB, free: 7.332 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/1.174, allocations: 28.77 kB / 1.033 GB, free: 7.301 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/1.174, allocations: 158.1 kB / 1.033 GB, free: 7.176 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/1.174, allocations: 55.94 kB / 1.033 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.067e-05/1.174, allocations: 3.375 kB / 1.033 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001607/1.174, allocations: 345 kB / 1.034 GB, free: 6.793 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.537e-05/1.174, allocations: 48.36 kB / 1.034 GB, free: 6.762 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/1.174, allocations: 94.25 kB / 1.034 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/1.174, allocations: 52.36 kB / 1.034 GB, free: 6.633 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.174, allocations: 0 / 1.034 GB, free: 6.633 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003676/1.175, allocations: 201 kB / 1.034 GB, free: 6.465 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/1.175, allocations: 8 kB / 1.034 GB, free: 6.457 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/1.175, allocations: 0 / 1.034 GB, free: 6.457 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/1.175, allocations: 4 kB / 1.034 GB, free: 6.453 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/1.175, allocations: 79.16 kB / 1.034 GB, free: 6.379 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/1.175, allocations: 4 kB / 1.034 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/1.175, allocations: 55.19 kB / 1.034 GB, free: 6.324 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/1.175, allocations: 4 kB / 1.034 GB, free: 6.32 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.833e-05/1.176, allocations: 122.2 kB / 1.034 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/1.176, allocations: 26.78 kB / 1.034 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003715/1.176, allocations: 197.2 kB / 1.035 GB, free: 6.027 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/1.176, allocations: 4 kB / 1.035 GB, free: 6.023 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.176, allocations: 7.938 kB / 1.035 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/1.176, allocations: 3.984 kB / 1.035 GB, free: 6.012 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003626/1.176, allocations: 293.9 kB / 1.035 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.176, allocations: 0 / 1.035 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002743/1.177, allocations: 59.95 kB / 1.035 GB, free: 5.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/1.177, allocations: 4 kB / 1.035 GB, free: 5.656 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/1.177, allocations: 6.875 kB / 1.035 GB, free: 5.652 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/1.177, allocations: 0 / 1.035 GB, free: 5.652 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.177, allocations: 4 kB / 1.035 GB, free: 5.648 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004057/1.177, allocations: 360.1 kB / 1.035 GB, free: 5.312 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.249e-05/1.177, allocations: 107.8 kB / 1.035 GB, free: 5.191 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/1.177, allocations: 3.188 kB / 1.035 GB, free: 5.191 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/1.178, allocations: 40.23 kB / 1.035 GB, free: 5.152 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.391e-05/1.178, allocations: 22.72 kB / 1.035 GB, free: 5.137 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/1.178, allocations: 4 kB / 1.035 GB, free: 5.133 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001786/1.178, allocations: 184.7 kB / 1.036 GB, free: 4.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/1.178, allocations: 0 / 1.036 GB, free: 4.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003638/1.178, allocations: 67.53 kB / 1.036 GB, free: 4.922 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008325/1.179, allocations: 0.9755 MB / 1.037 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002724/1.179, allocations: 134.4 kB / 1.037 GB, free: 3.855 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.179, allocations: 3.938 kB / 1.037 GB, free: 3.852 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/1.18, allocations: 69.25 kB / 1.037 GB, free: 3.801 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/1.18, allocations: 74.44 kB / 1.037 GB, free: 3.742 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008146/1.181, allocations: 365.7 kB / 1.037 GB, free: 3.391 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/1.181, allocations: 0.7599 MB / 1.038 GB, free: 2.602 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001505/1.181, allocations: 30.02 kB / 1.038 GB, free: 2.574 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/1.182, allocations: 82.09 kB / 1.038 GB, free: 2.547 MB / 0.6511 GB Notification: Performance of SimCode: time 3.5e-07/1.182, allocations: 0 / 1.038 GB, free: 2.547 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/1.2, allocations: 5.795 MB / 1.044 GB, free: 12.94 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/1.2, allocations: 180.3 kB / 1.044 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.099/3.3, allocations: 6.5 kB / 1.044 GB, free: 12.71 MB / 0.6667 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)