Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.434/1.434, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 169.5 kB / 326.6 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.4 MB / 0.5777 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008582/0.0008582, allocations: 99.61 kB / 0.6823 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003543, allocations: 9.562 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2183, allocations: 106.3 MB / 0.9003 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.002749/0.2211, allocations: 2.416 MB / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003427/0.2246, allocations: 2.745 MB / 0.9054 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003076/0.2249, allocations: 4 kB / 0.9054 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.2252, allocations: 59.59 kB / 0.9054 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000656/0.2259, allocations: 182.9 kB / 0.9056 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.2274, allocations: 0.4927 MB / 0.9061 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006663/0.228, allocations: 485.8 kB / 0.9065 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.2283, allocations: 92.05 kB / 0.9066 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000271/0.2285, allocations: 163.4 kB / 0.9068 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.2288, allocations: 191.2 kB / 0.907 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.372e-05/0.2289, allocations: 20 kB / 0.907 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007725/0.2297, allocations: 351.7 kB / 0.9073 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.211e-05/0.2297, allocations: 79.66 kB / 0.9074 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.2299, allocations: 93.52 kB / 0.9075 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006676/0.2305, allocations: 0.5185 MB / 0.908 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2305, allocations: 4 kB / 0.908 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2305, allocations: 4 kB / 0.908 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.942e-05/0.2306, allocations: 0 / 0.908 GB, free: 55.92 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001047/0.2316, allocations: 0.6776 MB / 0.9087 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.2317, allocations: 8.031 kB / 0.9087 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.498e-05/0.2318, allocations: 62.55 kB / 0.9087 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09435/0.3261, allocations: 10.59 MB / 0.9191 GB, free: 44.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.3282, allocations: 0.9196 MB / 0.92 GB, free: 43.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.14e-05/0.3282, allocations: 24.56 kB / 0.92 GB, free: 43.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008394/0.3291, allocations: 24 kB / 0.92 GB, free: 43.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01592/0.345, allocations: 3.555 MB / 0.9235 GB, free: 39.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.3451, allocations: 0 / 0.9235 GB, free: 39.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004742/0.3456, allocations: 16 kB / 0.9235 GB, free: 39.92 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.3456, allocations: 4 kB / 0.9235 GB, free: 39.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0136/0.3592, allocations: 2.805 MB / 0.9262 GB, free: 37.11 MB / 0.6042 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.01194/0.3712, allocations: 17.16 MB / 0.943 GB, free: 16.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01362/0.3848, allocations: 2.762 MB / 0.9457 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01346/0.3983, allocations: 2.62 MB / 0.9482 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.3985, allocations: 36.06 kB / 0.9483 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.3985, allocations: 42.48 kB / 0.9483 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 3.597e-06/0.3986, allocations: 3.938 kB / 0.9483 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22): time 0.04155/0.4401, allocations: 8.028 MB / 0.9562 GB, free: 2.855 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.4402, allocations: 55.41 kB / 0.9562 GB, free: 2.789 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/0.4405, allocations: 341.6 kB / 0.9565 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0006641/0.4412, allocations: 29.7 kB / 0.9566 GB, free: 2.414 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.4415, allocations: 208.3 kB / 0.9568 GB, free: 2.203 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004798/0.4419, allocations: 74.92 kB / 0.9568 GB, free: 2.129 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004896/0.4424, allocations: 4 kB / 0.9568 GB, free: 2.125 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.827e-05/0.4425, allocations: 342.8 kB / 0.9572 GB, free: 1.781 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01973/0.4623, allocations: 3.634 MB / 0.9607 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02041/0.4827, allocations: 3.669 MB / 0.9643 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0201/0.5029, allocations: 3.365 MB / 0.9676 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/0.5029, allocations: 0 / 0.9676 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04339/0.5463, allocations: 7.523 MB / 0.9749 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.99e-05/0.5464, allocations: 99.61 kB / 0.975 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0382/0.5846, allocations: 6.83 MB / 0.9817 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-05/0.5847, allocations: 4 kB / 0.9817 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01557/0.6003, allocations: 1.689 MB / 0.9834 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/0.6003, allocations: 4 kB / 0.9834 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01408/0.6144, allocations: 1.299 MB / 0.9846 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008595/0.6153, allocations: 203.5 kB / 0.9848 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.6153, allocations: 7.938 kB / 0.9848 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04237/0.6577, allocations: 7.462 MB / 0.9921 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03785/0.6956, allocations: 6.827 MB / 0.9988 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.6957, allocations: 0 / 0.9988 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01487/0.7105, allocations: 1.697 MB / 1 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.7106, allocations: 0 / 1 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01377/0.7244, allocations: 1.28 MB / 1.002 GB, free: 4.125 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007936/0.7252, allocations: 203.5 kB / 1.002 GB, free: 3.926 MB / 0.6511 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 (37): * Single equations (assignments): 37 * 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.001173/0.7264, allocations: 229 kB / 1.002 GB, free: 3.691 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005052/0.7269, allocations: 35.56 kB / 1.002 GB, free: 3.656 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03273/0.7596, allocations: 6.343 MB / 1.008 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.7597, allocations: 7.984 kB / 1.008 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.7597, allocations: 4 kB / 1.008 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.7597, allocations: 0 / 1.008 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005014/0.7647, allocations: 6.495 MB / 1.015 GB, free: 5.297 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02952/0.7943, allocations: 5.297 MB / 1.02 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01237/0.8067, allocations: 1.443 MB / 1.021 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.043e-05/0.8068, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005081/0.8073, allocations: 171.5 kB / 1.021 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/0.8073, allocations: 4 kB / 1.021 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.8073, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02902/0.8364, allocations: 5.435 MB / 1.027 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/0.8375, allocations: 0.5583 MB / 1.027 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004985/0.838, allocations: 11.98 kB / 1.027 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0111/0.8492, allocations: 1.081 MB / 1.028 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.8493, allocations: 39.91 kB / 1.028 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004938/0.8498, allocations: 175.5 kB / 1.029 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002507/0.8501, allocations: 235.2 kB / 1.029 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8501, allocations: 0 / 1.029 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002768/0.8529, allocations: 0.5895 MB / 1.029 GB, free: 6.207 MB / 0.6823 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 (34): * Single equations (assignments): 34 * 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.02991/0.8828, allocations: 6.043 MB / 1.035 GB, free: 136 kB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.05216/0.935, allocations: 9.663 MB / 1.045 GB, free: 6.457 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/0.9351, allocations: 4 kB / 1.045 GB, free: 6.453 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.01512/0.9502, allocations: 2.736 MB / 1.047 GB, free: 3.715 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/0.9517, allocations: 87.64 kB / 1.047 GB, free: 3.633 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4046/1.356, allocations: 15.64 MB / 1.063 GB, free: 152.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/1.357, allocations: 0.7927 MB / 1.064 GB, free: 151.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.01133/1.368, allocations: 1.639 MB / 1.065 GB, free: 150.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003003/1.371, allocations: 0.5947 MB / 1.066 GB, free: 150.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/1.371, allocations: 0 / 1.066 GB, free: 150.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1325/1.504, allocations: 82.74 MB / 1.146 GB, free: 76.53 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001449/1.504, allocations: 213.6 kB / 1.147 GB, free: 76.29 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.757/10.26, allocations: 0 / 1.147 GB, free: 76.29 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)