Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",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.001495/0.001496, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001785/0.001785, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.843/1.843, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005537/0.000554, allocations: 17.7 kB / 0.6737 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.2996, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.8313/1.131, allocations: 250.9 MB / 1.032 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.07434/1.205, allocations: 42.59 MB / 1.074 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01228/1.218, allocations: 242.2 kB / 1.074 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.01597/1.234, allocations: 2.973 MB / 1.077 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.03718/1.271, allocations: 8.974 MB / 1.086 GB, free: 14.67 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.02026/1.291, allocations: 6.012 MB / 1.092 GB, free: 8.73 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.02579/1.317, allocations: 10.75 MB / 1.102 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01158/1.329, allocations: 4.316 MB / 1.106 GB, free: 9.59 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02174/1.351, allocations: 5.403 MB / 1.112 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008595/1.359, allocations: 3.208 MB / 1.115 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002625/1.362, allocations: 232 kB / 1.115 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01335/1.375, allocations: 2.793 MB / 1.118 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.003486/1.379, allocations: 1.027 MB / 1.119 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.004666/1.383, allocations: 1.373 MB / 1.12 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01617/1.4, allocations: 7.306 MB / 1.127 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.4, allocations: 0 / 1.127 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.504e-06/1.4, allocations: 0 / 1.127 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0004126/1.4, allocations: 0 / 1.127 GB, free: 4.184 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01609/1.416, allocations: 6.222 MB / 1.133 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/1.416, allocations: 12.03 kB / 1.133 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00193/1.418, allocations: 0.5396 MB / 1.134 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003401/1.422, allocations: 0.7881 MB / 1.135 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01253/1.434, allocations: 4.64 MB / 1.139 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003103/1.434, allocations: 324.1 kB / 1.139 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008547/1.435, allocations: 432 kB / 1.14 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008775/1.444, allocations: 4.326 MB / 1.144 GB, free: 2.41 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.581e-05/1.444, allocations: 19.78 kB / 1.144 GB, free: 2.391 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004301/1.445, allocations: 176 kB / 1.144 GB, free: 2.219 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001474/1.445, allocations: 116 kB / 1.144 GB, free: 2.105 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006462/1.451, allocations: 2.949 MB / 1.147 GB, free: 15.15 MB / 0.8575 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03776/1.489, allocations: 25.17 MB / 1.172 GB, free: 3.941 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003692/1.493, allocations: 2.763 MB / 1.174 GB, free: 0.9609 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003604/1.497, allocations: 3.904 MB / 1.178 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001175/1.497, allocations: 68.55 kB / 1.178 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=217): time 4.027e-06/1.497, allocations: 0 / 1.178 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of matching and sorting (n=217): time 0.01267/1.509, allocations: 4.072 MB / 1.182 GB, free: 7.949 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.707e-05/1.509, allocations: 73.41 kB / 1.182 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009438/1.519, allocations: 4.371 MB / 1.187 GB, free: 3.516 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0007153/1.52, allocations: 81.7 kB / 1.187 GB, free: 3.43 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.003274/1.523, allocations: 2.776 MB / 1.189 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.00137/1.524, allocations: 0.751 MB / 1.19 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/1.525, allocations: 63.94 kB / 1.19 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002333/1.525, allocations: 415.6 kB / 1.191 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/1.526, allocations: 0.7904 MB / 1.191 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002604/1.529, allocations: 1.787 MB / 1.193 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/1.531, allocations: 1.077 MB / 1.194 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.01e-05/1.531, allocations: 8 kB / 1.194 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008439/1.54, allocations: 3.497 MB / 1.198 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.004709/1.544, allocations: 10.29 MB / 1.208 GB, free: 12.64 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.301e-05/1.544, allocations: 27.98 kB / 1.208 GB, free: 12.62 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002791/1.547, allocations: 0.569 MB / 1.208 GB, free: 12.04 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002454/1.55, allocations: 0.5577 MB / 1.209 GB, free: 11.48 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002762/1.552, allocations: 2.692 MB / 1.211 GB, free: 8.684 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006495/1.559, allocations: 0.6294 MB / 1.212 GB, free: 8.051 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005954/1.56, allocations: 140 kB / 1.212 GB, free: 7.914 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/1.56, allocations: 4 kB / 1.212 GB, free: 7.91 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005594/1.565, allocations: 2.798 MB / 1.215 GB, free: 5.059 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.172e-05/1.565, allocations: 20 kB / 1.215 GB, free: 5.039 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009632/1.566, allocations: 375.9 kB / 1.215 GB, free: 4.66 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001947/1.568, allocations: 0.5616 MB / 1.216 GB, free: 4.098 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/1.579, allocations: 7.786 MB / 1.223 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007553/1.587, allocations: 0.5859 MB / 1.224 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000767/1.588, allocations: 136 kB / 1.224 GB, free: 11.01 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (323): * Single equations (assignments): 319 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.003593/1.592, allocations: 1.003 MB / 1.225 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002452/1.594, allocations: 0.5017 MB / 1.226 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007749/1.602, allocations: 3.576 MB / 1.229 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.918e-05/1.602, allocations: 31.98 kB / 1.229 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/1.602, allocations: 4 kB / 1.229 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004419/1.606, allocations: 2.439 MB / 1.232 GB, free: 3.32 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02568/1.632, allocations: 8.279 MB / 1.24 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.946e-05/1.632, allocations: 4 kB / 1.24 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002116/1.634, allocations: 367.6 kB / 1.24 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000796/1.635, allocations: 299 kB / 1.24 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002414/1.635, allocations: 67.95 kB / 1.24 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/1.637, allocations: 2.498 MB / 1.243 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.637, allocations: 0 / 1.243 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009888/1.647, allocations: 4.416 MB / 1.247 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004744/1.652, allocations: 1.036 MB / 1.248 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001997/1.654, allocations: 51.97 kB / 1.248 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007231/1.661, allocations: 423.2 kB / 1.249 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007135/1.662, allocations: 153.8 kB / 1.249 GB, free: 1.219 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005609/1.662, allocations: 111.9 kB / 1.249 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.011/1.673, allocations: 2.897 MB / 1.252 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.31e-07/1.673, allocations: 0 / 1.252 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.02265/1.696, allocations: 3.32 MB / 1.255 GB, free: 10.91 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * 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 (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01721/1.713, allocations: 6.394 MB / 1.261 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01198/1.725, allocations: 4.398 MB / 1.265 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/1.726, allocations: 0 / 1.265 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002599/1.728, allocations: 1.238 MB / 1.267 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01778/1.746, allocations: 2.638 MB / 1.269 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5095/2.255, allocations: 29.29 MB / 1.298 GB, free: 345.6 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003503/2.259, allocations: 2.98 MB / 1.301 GB, free: 344.8 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.006133/2.265, allocations: 1.177 MB / 1.302 GB, free: 344.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003913/2.269, allocations: 2.524 MB / 1.304 GB, free: 344.7 MB / 0.9825 GB Notification: Performance of SimCode: time 7.21e-07/2.269, allocations: 0 / 1.304 GB, free: 344.7 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2629/2.532, allocations: 148.6 MB / 1.449 GB, free: 232.6 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003071/2.532, allocations: 246.2 kB / 1.45 GB, free: 232.2 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/15.35, allocations: 7.938 kB / 1.45 GB, free: 232.2 MB / 0.9825 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1) Environment - environmentSimulation: