Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008796/0.008796, allocations: 172.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.841/0.841, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 223.2 MB / 406.8 MB, free: 3.262 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.001241/0.001241, allocations: 107.5 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006616/0.0006615, allocations: 12 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063/1.064, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3019/1.366, allocations: 113.3 MB / 0.7601 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000529/1.366, allocations: 79.95 kB / 0.7602 GB, free: 2.656 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02764/1.394, allocations: 5.354 MB / 0.7654 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.222e-05/1.395, allocations: 0 / 0.7654 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.545e-05/1.395, allocations: 4 kB / 0.7654 GB, free: 13.29 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00124/1.396, allocations: 414.9 kB / 0.7658 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 9.199e-05/1.396, allocations: 8.031 kB / 0.7658 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001101/1.397, allocations: 38.56 kB / 0.7659 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002511/1.397, allocations: 7.906 kB / 0.7659 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/1.397, allocations: 203.9 kB / 0.7661 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/1.397, allocations: 3.984 kB / 0.7661 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/1.397, allocations: 4 kB / 0.7661 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003871/1.398, allocations: 65.61 kB / 0.7662 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/1.398, allocations: 7.938 kB / 0.7662 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/1.398, allocations: 0 / 0.7662 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/1.398, allocations: 0 / 0.7662 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000274/1.398, allocations: 51.95 kB / 0.7662 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/1.399, allocations: 308.7 kB / 0.7665 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/1.4, allocations: 58.5 kB / 0.7666 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.312e-05/1.4, allocations: 4.062 kB / 0.7666 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.948e-05/1.4, allocations: 38.55 kB / 0.7666 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 2.385e-06/1.4, allocations: 0 / 0.7666 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.0008285/1.401, allocations: 121.7 kB / 0.7667 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.3e-05/1.401, allocations: 59.3 kB / 0.7668 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/1.401, allocations: 126.4 kB / 0.7669 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/1.401, allocations: 25.7 kB / 0.7669 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/1.401, allocations: 92.14 kB / 0.767 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.971e-05/1.401, allocations: 19.67 kB / 0.767 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/1.401, allocations: 4 kB / 0.767 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003477/1.402, allocations: 314.8 kB / 0.7673 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/1.402, allocations: 27.98 kB / 0.7674 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/1.402, allocations: 27.98 kB / 0.7674 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/1.402, allocations: 23.98 kB / 0.7674 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.402, allocations: 0 / 0.7674 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000381/1.403, allocations: 105.6 kB / 0.7675 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/1.403, allocations: 4 kB / 0.7675 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/1.403, allocations: 0 / 0.7675 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.223e-05/1.403, allocations: 4 kB / 0.7675 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/1.403, allocations: 15.98 kB / 0.7675 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/1.403, allocations: 0 / 0.7675 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/1.403, allocations: 15.88 kB / 0.7675 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/1.403, allocations: 4 kB / 0.7676 GB, free: 10.9 MB / 0.5417 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001983/1.404, allocations: 113.8 kB / 0.7677 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.785e-05/1.404, allocations: 7.906 kB / 0.7677 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004681/1.404, allocations: 110 kB / 0.7678 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/1.404, allocations: 0 / 0.7678 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/1.404, allocations: 4 kB / 0.7678 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/1.404, allocations: 0 / 0.7678 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003521/1.405, allocations: 185.5 kB / 0.768 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/1.405, allocations: 4 kB / 0.768 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/1.405, allocations: 20.42 kB / 0.768 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/1.405, allocations: 0 / 0.768 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/1.405, allocations: 0 / 0.768 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/1.405, allocations: 0 / 0.768 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.405, allocations: 4 kB / 0.768 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004809/1.405, allocations: 203.3 kB / 0.7682 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.395e-05/1.405, allocations: 81.11 kB / 0.7683 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/1.405, allocations: 0 / 0.7683 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/1.406, allocations: 7.984 kB / 0.7683 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-05/1.406, allocations: 15.94 kB / 0.7683 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/1.406, allocations: 0 / 0.7683 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001072/1.406, allocations: 104.4 kB / 0.7684 GB, free: 9.965 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.91e-07/1.406, allocations: 4 kB / 0.7684 GB, free: 9.961 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005709/1.406, allocations: 27.94 kB / 0.7684 GB, free: 9.934 MB / 0.5417 GB 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 (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.00165/1.408, allocations: 0.7396 MB / 0.7691 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003616/1.409, allocations: 63.95 kB / 0.7692 GB, free: 9.102 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/1.409, allocations: 4 kB / 0.7692 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/1.409, allocations: 35.92 kB / 0.7692 GB, free: 9.062 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/1.409, allocations: 8 kB / 0.7692 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/1.411, allocations: 428.3 kB / 0.7696 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006892/1.411, allocations: 0.6965 MB / 0.7703 GB, free: 7.863 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001015/1.411, allocations: 12.17 kB / 0.7703 GB, free: 7.852 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/1.412, allocations: 23.42 kB / 0.7704 GB, free: 7.828 MB / 0.5417 GB Notification: Performance of SimCode: time 5.81e-07/1.412, allocations: 0 / 0.7704 GB, free: 7.828 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/1.443, allocations: 1.964 MB / 0.7723 GB, free: 6.008 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004584/1.443, allocations: 178.6 kB / 0.7724 GB, free: 5.773 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.867/4.311, allocations: 4.062 kB / 0.7725 GB, free: 5.77 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)