Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_latest_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_latest_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.004554/0.004554, allocations: 98.64 kB / 15.73 MB, free: 6.047 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.001275/0.001275, allocations: 194.6 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.691/2.691, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002677/0.002677, allocations: 64.12 kB / 1.083 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2834, allocations: 162.3 MB / 1.242 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.7864/1.07, allocations: 300.9 MB / 1.536 GB, free: 9.887 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.06528/1.135, allocations: 50.07 MB / 1.585 GB, free: 7.707 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00828/1.143, allocations: 294.3 kB / 1.585 GB, free: 7.418 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.008771/1.152, allocations: 3.419 MB / 1.588 GB, free: 3.977 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02247/1.175, allocations: 8.977 MB / 1.597 GB, free: 10.96 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01494/1.19, allocations: 6.638 MB / 1.604 GB, free: 4.363 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.02444/1.214, allocations: 18.43 MB / 1.622 GB, free: 1.867 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009292/1.223, allocations: 5.844 MB / 1.627 GB, free: 11.93 MB / 1.326 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01636/1.24, allocations: 7.776 MB / 1.635 GB, free: 4.152 MB / 1.326 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007886/1.248, allocations: 4.983 MB / 1.64 GB, free: 15.15 MB / 1.342 GB Notification: Performance of NFPackage.collectConstants: time 0.001235/1.249, allocations: 0.5664 MB / 1.64 GB, free: 14.58 MB / 1.342 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009951/1.259, allocations: 4.364 MB / 1.645 GB, free: 10.21 MB / 1.342 GB Notification: Performance of NFScalarize.scalarize: time 0.001716/1.261, allocations: 1.506 MB / 1.646 GB, free: 8.699 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.005192/1.266, allocations: 3.752 MB / 1.65 GB, free: 4.93 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.01815/1.284, allocations: 10.49 MB / 1.66 GB, free: 10.4 MB / 1.357 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/1.284, allocations: 0 / 1.66 GB, free: 10.4 MB / 1.357 GB Notification: Performance of FrontEnd: time 1.533e-06/1.284, allocations: 0 / 1.66 GB, free: 10.4 MB / 1.357 GB Notification: Performance of Transformations before backend: time 0.0001422/1.284, allocations: 0 / 1.66 GB, free: 10.4 MB / 1.357 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.01157/1.296, allocations: 7.704 MB / 1.667 GB, free: 2.551 MB / 1.357 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/1.296, allocations: 12.03 kB / 1.667 GB, free: 2.539 MB / 1.357 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006254/1.297, allocations: 0.5357 MB / 1.668 GB, free: 1.996 MB / 1.357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/1.298, allocations: 0.8233 MB / 1.669 GB, free: 1.168 MB / 1.357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008378/1.307, allocations: 5.413 MB / 1.674 GB, free: 11.68 MB / 1.373 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002446/1.307, allocations: 320 kB / 1.674 GB, free: 11.37 MB / 1.373 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005193/1.308, allocations: 436 kB / 1.675 GB, free: 10.94 MB / 1.373 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006633/1.314, allocations: 4.377 MB / 1.679 GB, free: 6.285 MB / 1.373 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-05/1.314, allocations: 19.88 kB / 1.679 GB, free: 6.266 MB / 1.373 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003308/1.315, allocations: 172 kB / 1.679 GB, free: 6.098 MB / 1.373 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001118/1.315, allocations: 115.9 kB / 1.679 GB, free: 5.984 MB / 1.373 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004828/1.32, allocations: 2.965 MB / 1.682 GB, free: 3.016 MB / 1.373 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.02423/1.344, allocations: 25.33 MB / 1.707 GB, free: 7.605 MB / 1.404 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003038/1.347, allocations: 2.766 MB / 1.71 GB, free: 4.637 MB / 1.404 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/1.348, allocations: 0.9915 MB / 1.711 GB, free: 3.645 MB / 1.404 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003115/1.351, allocations: 3.908 MB / 1.714 GB, free: 14.87 MB / 1.42 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.851e-05/1.352, allocations: 60.56 kB / 1.715 GB, free: 14.8 MB / 1.42 GB Notification: Performance of pre-optimization done (n=217): time 5.861e-06/1.352, allocations: 0 / 1.715 GB, free: 14.8 MB / 1.42 GB Notification: Performance of matching and sorting (n=217): time 0.009711/1.361, allocations: 4.099 MB / 1.719 GB, free: 10.61 MB / 1.42 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/1.361, allocations: 73.41 kB / 1.719 GB, free: 10.52 MB / 1.42 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005655/1.367, allocations: 4.303 MB / 1.723 GB, free: 6.242 MB / 1.42 GB Notification: Performance of collectPreVariables (initialization): time 0.0001967/1.367, allocations: 81.7 kB / 1.723 GB, free: 6.156 MB / 1.42 GB Notification: Performance of collectInitialEqns (initialization): time 0.00227/1.37, allocations: 2.827 MB / 1.726 GB, free: 3.309 MB / 1.42 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007163/1.37, allocations: 0.7939 MB / 1.726 GB, free: 2.508 MB / 1.42 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007586/1.371, allocations: 0.5766 MB / 1.727 GB, free: 1.926 MB / 1.42 GB Notification: Performance of setup shared object (initialization): time 0.0001105/1.371, allocations: 305.1 kB / 1.727 GB, free: 1.625 MB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/1.372, allocations: 0.8231 MB / 1.728 GB, free: 0.7969 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00221/1.375, allocations: 1.822 MB / 1.73 GB, free: 14.54 MB / 1.436 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003639/1.378, allocations: 2.513 MB / 1.732 GB, free: 11.7 MB / 1.436 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/1.378, allocations: 4 kB / 1.732 GB, free: 11.69 MB / 1.436 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007308/1.386, allocations: 3.577 MB / 1.736 GB, free: 8.051 MB / 1.436 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/1.386, allocations: 17 kB / 1.736 GB, free: 8.035 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.656e-05/1.386, allocations: 23.98 kB / 1.736 GB, free: 8.012 MB / 1.436 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002478/1.388, allocations: 0.5808 MB / 1.736 GB, free: 7.418 MB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/1.39, allocations: 0.5538 MB / 1.737 GB, free: 6.863 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/1.392, allocations: 2.697 MB / 1.74 GB, free: 4.066 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002833/1.395, allocations: 338.1 kB / 1.74 GB, free: 3.734 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002176/1.395, allocations: 136 kB / 1.74 GB, free: 3.602 MB / 1.436 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002762/1.398, allocations: 1.568 MB / 1.742 GB, free: 2.027 MB / 1.436 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002165/1.4, allocations: 1.798 MB / 1.743 GB, free: 15.79 MB / 1.451 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003385/1.403, allocations: 2.463 MB / 1.746 GB, free: 13 MB / 1.451 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.206e-05/1.403, allocations: 8 kB / 1.746 GB, free: 12.99 MB / 1.451 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.005962/1.409, allocations: 3.328 MB / 1.749 GB, free: 9.598 MB / 1.451 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/1.409, allocations: 16 kB / 1.749 GB, free: 9.582 MB / 1.451 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/1.409, allocations: 20 kB / 1.749 GB, free: 9.562 MB / 1.451 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000933/1.41, allocations: 371.3 kB / 1.749 GB, free: 9.188 MB / 1.451 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/1.412, allocations: 0.5499 MB / 1.75 GB, free: 8.637 MB / 1.451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008106/1.42, allocations: 8.462 MB / 1.758 GB, free: 15.57 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002948/1.423, allocations: 307.5 kB / 1.758 GB, free: 15.27 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002111/1.423, allocations: 132 kB / 1.759 GB, free: 15.14 MB / 1.467 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0005856/1.424, allocations: 371.8 kB / 1.759 GB, free: 14.77 MB / 1.467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000897/1.425, allocations: 0.5318 MB / 1.759 GB, free: 14.23 MB / 1.467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006049/1.431, allocations: 3.558 MB / 1.763 GB, free: 10.62 MB / 1.467 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.894e-05/1.431, allocations: 39.97 kB / 1.763 GB, free: 10.58 MB / 1.467 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/1.431, allocations: 3.938 kB / 1.763 GB, free: 10.57 MB / 1.467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003817/1.435, allocations: 2.443 MB / 1.765 GB, free: 8.074 MB / 1.467 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.0114/1.446, allocations: 8.217 MB / 1.773 GB, free: 15.58 MB / 1.482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/1.446, allocations: 4.094 kB / 1.773 GB, free: 15.57 MB / 1.482 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/1.447, allocations: 367.5 kB / 1.774 GB, free: 15.21 MB / 1.482 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007305/1.448, allocations: 315 kB / 1.774 GB, free: 14.89 MB / 1.482 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/1.448, allocations: 59.97 kB / 1.774 GB, free: 14.84 MB / 1.482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/1.45, allocations: 2.494 MB / 1.777 GB, free: 12.24 MB / 1.482 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.45, allocations: 192 / 1.777 GB, free: 12.24 MB / 1.482 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006603/1.457, allocations: 4.366 MB / 1.781 GB, free: 7.785 MB / 1.482 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/1.458, allocations: 0.8991 MB / 1.782 GB, free: 6.863 MB / 1.482 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004451/1.459, allocations: 51.94 kB / 1.782 GB, free: 6.812 MB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001985/1.461, allocations: 127.8 kB / 1.782 GB, free: 6.688 MB / 1.482 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000256/1.461, allocations: 153.8 kB / 1.782 GB, free: 6.539 MB / 1.482 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001973/1.461, allocations: 107.9 kB / 1.782 GB, free: 6.434 MB / 1.482 GB Notification: Performance of sorting global known variables: time 0.003966/1.465, allocations: 2.848 MB / 1.785 GB, free: 3.613 MB / 1.482 GB Notification: Performance of sort global known variables: time 1.9e-07/1.465, allocations: 0 / 1.785 GB, free: 3.613 MB / 1.482 GB Notification: Performance of remove unused functions: time 0.006558/1.472, allocations: 3.269 MB / 1.788 GB, free: 344 kB / 1.482 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,9), (1,7), (1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0091/1.481, allocations: 6.193 MB / 1.794 GB, free: 10.05 MB / 1.498 GB Notification: Performance of simCode: created initialization part: time 0.007155/1.488, allocations: 4.425 MB / 1.798 GB, free: 5.566 MB / 1.498 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/1.488, allocations: 0 / 1.798 GB, free: 5.566 MB / 1.498 GB Notification: Performance of simCode: created simulation system equations: time 0.001963/1.49, allocations: 1.234 MB / 1.8 GB, free: 4.332 MB / 1.498 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0108/1.501, allocations: 2.638 MB / 1.802 GB, free: 1.762 MB / 1.498 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5112/2.012, allocations: 32.04 MB / 1.834 GB, free: 0.4905 GB / 1.514 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002323/2.014, allocations: 2.871 MB / 1.836 GB, free: 0.4897 GB / 1.514 GB Notification: Performance of simCode: alias equations: time 0.003506/2.018, allocations: 1.157 MB / 1.837 GB, free: 0.4896 GB / 1.514 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00209/2.02, allocations: 2.537 MB / 1.84 GB, free: 499.4 MB / 1.514 GB Notification: Performance of SimCode: time 7.02e-07/2.02, allocations: 0 / 1.84 GB, free: 499.4 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.67/11.69, allocations: 145.7 MB / 1.982 GB, free: 410 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 44.26/55.95, allocations: 3.625 kB / 1.982 GB, free: 410 MB / 1.514 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)