Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8311/0.8311, allocations: 141.8 MB / 149.3 MB, free: 9.234 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009944/0.0009946, allocations: 180.8 kB / 182.2 MB, free: 9.438 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008804/0.0008804, allocations: 95.73 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001737/0.001738, allocations: 288.4 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.213e-05/2.215e-05, allocations: 4 kB / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3541, allocations: 82.77 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1339/0.488, allocations: 110.4 MB / 0.8652 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.4883, allocations: 87.86 kB / 0.8653 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02294/0.5112, allocations: 7.594 MB / 0.8727 GB, free: 9.695 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5113, allocations: 3.938 kB / 0.8727 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.682e-05/0.5113, allocations: 8 kB / 0.8727 GB, free: 9.684 MB / 0.5417 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.0008711/0.5122, allocations: 0.5565 MB / 0.8733 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.5122, allocations: 12.03 kB / 0.8733 GB, free: 9.066 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.5124, allocations: 35.61 kB / 0.8733 GB, free: 9.031 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004539/0.5129, allocations: 290.7 kB / 0.8736 GB, free: 8.711 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.5129, allocations: 7.953 kB / 0.8736 GB, free: 8.703 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.5129, allocations: 8 kB / 0.8736 GB, free: 8.695 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002024/0.5132, allocations: 96.55 kB / 0.8737 GB, free: 8.602 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.5134, allocations: 160.3 kB / 0.8739 GB, free: 8.422 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.5134, allocations: 0 / 0.8739 GB, free: 8.422 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.5134, allocations: 4 kB / 0.8739 GB, free: 8.418 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.5135, allocations: 4 kB / 0.8739 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.5146, allocations: 0.9194 MB / 0.8748 GB, free: 7.438 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004979/0.5151, allocations: 181.4 kB / 0.875 GB, free: 7.242 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.5153, allocations: 61.64 kB / 0.875 GB, free: 7.176 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.5153, allocations: 3.953 kB / 0.875 GB, free: 7.172 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.5153, allocations: 34.56 kB / 0.875 GB, free: 7.129 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.5153, allocations: 0 / 0.875 GB, free: 7.129 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.0004091/0.5158, allocations: 150.6 kB / 0.8752 GB, free: 6.977 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.5158, allocations: 81.05 kB / 0.8753 GB, free: 6.879 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.516, allocations: 218.3 kB / 0.8755 GB, free: 6.652 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.516, allocations: 25.7 kB / 0.8755 GB, free: 6.621 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.82e-05/0.5161, allocations: 160.3 kB / 0.8757 GB, free: 6.461 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.5162, allocations: 59.11 kB / 0.8757 GB, free: 6.402 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/0.5162, allocations: 4 kB / 0.8757 GB, free: 6.398 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.5163, allocations: 330.8 kB / 0.876 GB, free: 6.066 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.874e-05/0.5164, allocations: 43.94 kB / 0.8761 GB, free: 6.023 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.5165, allocations: 88.03 kB / 0.8762 GB, free: 5.918 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.5167, allocations: 51.92 kB / 0.8762 GB, free: 5.867 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5167, allocations: 4 kB / 0.8762 GB, free: 5.863 MB / 0.5417 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003666/0.517, allocations: 177 kB / 0.8764 GB, free: 5.688 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.5171, allocations: 8 kB / 0.8764 GB, free: 5.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.5171, allocations: 7.891 kB / 0.8764 GB, free: 5.672 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.5171, allocations: 4.156 kB / 0.8764 GB, free: 5.668 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/0.5174, allocations: 75.89 kB / 0.8765 GB, free: 5.594 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.5174, allocations: 7.984 kB / 0.8765 GB, free: 5.586 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/0.5177, allocations: 43.81 kB / 0.8765 GB, free: 5.543 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.5177, allocations: 8 kB / 0.8765 GB, free: 5.535 MB / 0.5417 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 7.753e-05/0.5178, allocations: 108.9 kB / 0.8766 GB, free: 5.422 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003365/0.5182, allocations: 141.4 kB / 0.8768 GB, free: 5.277 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.5183, allocations: 27.67 kB / 0.8768 GB, free: 5.25 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003854/0.5187, allocations: 187.3 kB / 0.877 GB, free: 5.059 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5187, allocations: 4 kB / 0.877 GB, free: 5.055 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5187, allocations: 0 / 0.877 GB, free: 5.055 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.5187, allocations: 8.25 kB / 0.877 GB, free: 5.047 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/0.519, allocations: 257.9 kB / 0.8772 GB, free: 4.758 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.519, allocations: 0 / 0.8772 GB, free: 4.758 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002985/0.5193, allocations: 71.83 kB / 0.8773 GB, free: 4.688 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.5194, allocations: 0 / 0.8773 GB, free: 4.688 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.5194, allocations: 7.953 kB / 0.8773 GB, free: 4.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.5194, allocations: 0 / 0.8773 GB, free: 4.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5194, allocations: 0 / 0.8773 GB, free: 4.68 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.5198, allocations: 348.2 kB / 0.8776 GB, free: 4.316 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.869e-05/0.5199, allocations: 104.7 kB / 0.8777 GB, free: 4.195 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.5199, allocations: 0 / 0.8777 GB, free: 4.195 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.5202, allocations: 39.91 kB / 0.8778 GB, free: 4.156 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.5203, allocations: 15.98 kB / 0.8778 GB, free: 4.141 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.5203, allocations: 15.98 kB / 0.8778 GB, free: 4.125 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001418/0.5204, allocations: 166 kB / 0.878 GB, free: 3.965 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5204, allocations: 0 / 0.878 GB, free: 3.965 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003482/0.5208, allocations: 56.09 kB / 0.878 GB, free: 3.91 MB / 0.5417 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.0007802/0.5216, allocations: 0.963 MB / 0.879 GB, free: 2.918 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.5218, allocations: 119.8 kB / 0.8791 GB, free: 2.801 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5219, allocations: 0 / 0.8791 GB, free: 2.801 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.522, allocations: 67.94 kB / 0.8791 GB, free: 2.734 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.5224, allocations: 61.66 kB / 0.8792 GB, free: 2.672 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007885/0.5232, allocations: 345.9 kB / 0.8795 GB, free: 2.297 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.5235, allocations: 0.7633 MB / 0.8803 GB, free: 1.504 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001545/0.5237, allocations: 33.89 kB / 0.8803 GB, free: 1.473 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.5238, allocations: 91.34 kB / 0.8804 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of SimCode: time 2.6e-07/0.5238, allocations: 0 / 0.8804 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/0.5467, allocations: 5.247 MB / 0.8855 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/0.5469, allocations: 163.8 kB / 0.8857 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/2.431, allocations: 3.938 kB / 0.8857 GB, free: 12.03 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)