Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.102/3.102, allocations: 287.3 MB / 302.3 MB, free: 8.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00159/0.00159, allocations: 191.5 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.159/2.159, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 90.06 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007696/0.0007699, allocations: 16.94 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.225, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 1.076/1.301, allocations: 250.9 MB / 1.223 GB, free: 1 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1007/1.402, allocations: 42.6 MB / 1.265 GB, free: 6.336 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01221/1.414, allocations: 238.2 kB / 1.265 GB, free: 6.102 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0164/1.431, allocations: 2.977 MB / 1.268 GB, free: 3.109 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.04326/1.474, allocations: 8.966 MB / 1.277 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.02857/1.503, allocations: 6.012 MB / 1.283 GB, free: 4.191 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.03059/1.533, allocations: 10.75 MB / 1.293 GB, free: 9.43 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.013/1.546, allocations: 4.313 MB / 1.297 GB, free: 5.059 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0202/1.567, allocations: 5.407 MB / 1.303 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009611/1.576, allocations: 3.208 MB / 1.306 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.00272/1.579, allocations: 231.9 kB / 1.306 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01583/1.595, allocations: 2.785 MB / 1.309 GB, free: 9.395 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.003288/1.598, allocations: 1.031 MB / 1.31 GB, free: 8.359 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.004283/1.603, allocations: 1.373 MB / 1.311 GB, free: 6.977 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01941/1.622, allocations: 7.309 MB / 1.318 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.129e-05/1.622, allocations: 4 kB / 1.318 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.1e-06/1.622, allocations: 0 / 1.318 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003962/1.623, allocations: 3.938 kB / 1.318 GB, free: 15.64 MB / 0.8542 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.01967/1.642, allocations: 6.218 MB / 1.324 GB, free: 9.289 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/1.642, allocations: 12.03 kB / 1.324 GB, free: 9.277 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002263/1.645, allocations: 0.5357 MB / 1.325 GB, free: 8.734 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004225/1.649, allocations: 0.7881 MB / 1.326 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01673/1.666, allocations: 4.651 MB / 1.33 GB, free: 3.215 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005005/1.666, allocations: 320.1 kB / 1.33 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001501/1.668, allocations: 432 kB / 1.331 GB, free: 2.477 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01474/1.682, allocations: 4.322 MB / 1.335 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001805/1.683, allocations: 15.78 kB / 1.335 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008924/1.684, allocations: 176 kB / 1.335 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002019/1.684, allocations: 116 kB / 1.335 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01129/1.695, allocations: 2.945 MB / 1.338 GB, free: 10.62 MB / 0.8698 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.04811/1.743, allocations: 25.17 MB / 1.363 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005716/1.749, allocations: 2.755 MB / 1.366 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004813/1.754, allocations: 3.912 MB / 1.369 GB, free: 7.664 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001255/1.754, allocations: 60.56 kB / 1.369 GB, free: 7.598 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=217): time 5.27e-06/1.754, allocations: 7.875 kB / 1.369 GB, free: 7.59 MB / 0.9011 GB Notification: Performance of matching and sorting (n=217): time 0.0192/1.773, allocations: 4.057 MB / 1.373 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.518e-05/1.774, allocations: 77.39 kB / 1.373 GB, free: 3.352 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0125/1.786, allocations: 4.371 MB / 1.378 GB, free: 15 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0006676/1.787, allocations: 77.7 kB / 1.378 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.004124/1.791, allocations: 2.777 MB / 1.38 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001547/1.793, allocations: 0.7625 MB / 1.381 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002644/1.793, allocations: 56 kB / 1.381 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000312/1.793, allocations: 415.9 kB / 1.382 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002653/1.796, allocations: 0.7826 MB / 1.382 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004378/1.8, allocations: 1.794 MB / 1.384 GB, free: 7.867 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003574/1.804, allocations: 1.073 MB / 1.385 GB, free: 6.773 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.329e-05/1.804, allocations: 7.938 kB / 1.385 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01379/1.818, allocations: 3.504 MB / 1.389 GB, free: 3.195 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.005338/1.823, allocations: 10.3 MB / 1.399 GB, free: 8.121 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.692e-05/1.823, allocations: 27.95 kB / 1.399 GB, free: 8.094 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004654/1.828, allocations: 0.5612 MB / 1.399 GB, free: 7.52 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003875/1.832, allocations: 0.5578 MB / 1.4 GB, free: 6.961 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003511/1.835, allocations: 2.681 MB / 1.402 GB, free: 4.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008362/1.844, allocations: 0.6433 MB / 1.403 GB, free: 3.535 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007451/1.845, allocations: 132 kB / 1.403 GB, free: 3.406 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/1.845, allocations: 4 kB / 1.403 GB, free: 3.402 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009373/1.854, allocations: 2.798 MB / 1.406 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.688e-05/1.854, allocations: 27.98 kB / 1.406 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001823/1.856, allocations: 375.8 kB / 1.406 GB, free: 148 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003843/1.86, allocations: 0.5577 MB / 1.407 GB, free: 15.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01423/1.874, allocations: 7.778 MB / 1.414 GB, free: 7.219 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008541/1.883, allocations: 0.5831 MB / 1.415 GB, free: 6.633 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000777/1.884, allocations: 136 kB / 1.415 GB, free: 6.5 MB / 0.948 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.003655/1.887, allocations: 1.001 MB / 1.416 GB, free: 5.488 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001909/1.889, allocations: 0.5094 MB / 1.417 GB, free: 4.973 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01151/1.901, allocations: 3.577 MB / 1.42 GB, free: 1.328 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.608e-05/1.901, allocations: 39.97 kB / 1.42 GB, free: 1.289 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/1.901, allocations: 0 / 1.42 GB, free: 1.289 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007593/1.909, allocations: 2.435 MB / 1.423 GB, free: 14.8 MB / 0.9636 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.02409/1.933, allocations: 8.279 MB / 1.431 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.788e-05/1.933, allocations: 96 / 1.431 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002845/1.936, allocations: 367.6 kB / 1.431 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001399/1.937, allocations: 315 kB / 1.431 GB, free: 5.559 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003664/1.937, allocations: 63.97 kB / 1.431 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002748/1.94, allocations: 2.498 MB / 1.434 GB, free: 2.895 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/1.94, allocations: 3.938 kB / 1.434 GB, free: 2.891 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.674/2.614, allocations: 4.415 MB / 1.438 GB, free: 349.8 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003935/2.618, allocations: 1.029 MB / 1.439 GB, free: 349.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001715/2.62, allocations: 45.98 kB / 1.439 GB, free: 349.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00737/2.627, allocations: 423.9 kB / 1.44 GB, free: 349.7 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006563/2.628, allocations: 151.6 kB / 1.44 GB, free: 349.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004663/2.629, allocations: 113.6 kB / 1.44 GB, free: 349.7 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.009857/2.639, allocations: 2.9 MB / 1.443 GB, free: 349.2 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9.62e-07/2.639, allocations: 3.938 kB / 1.443 GB, free: 349.2 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01919/2.658, allocations: 3.318 MB / 1.446 GB, free: 348.9 MB / 0.9636 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.01926/2.677, allocations: 6.392 MB / 1.452 GB, free: 346.2 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01317/2.69, allocations: 4.399 MB / 1.456 GB, free: 344.4 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/2.69, allocations: 2.625 kB / 1.456 GB, free: 344.4 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003898/2.694, allocations: 1.236 MB / 1.458 GB, free: 343.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02343/2.718, allocations: 2.631 MB / 1.46 GB, free: 343.4 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06689/2.785, allocations: 29.31 MB / 1.489 GB, free: 319.3 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006503/2.791, allocations: 2.982 MB / 1.492 GB, free: 318.4 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.009278/2.801, allocations: 1.168 MB / 1.493 GB, free: 318 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005886/2.807, allocations: 2.524 MB / 1.495 GB, free: 316.1 MB / 0.9636 GB Notification: Performance of SimCode: time 1.533e-06/2.807, allocations: 0 / 1.495 GB, free: 316.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3301/3.137, allocations: 148.5 MB / 1.64 GB, free: 185.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002931/3.137, allocations: 265.7 kB / 1.641 GB, free: 184.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.748/12.88, allocations: 0 / 1.641 GB, free: 184.9 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)