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 2.401/2.401, allocations: 252 MB / 267.3 MB, free: 10.85 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.001884/0.001884, allocations: 175.6 kB / 327 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.294/3.294, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.001524/0.001524, allocations: 88.59 kB / 0.6826 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005318/0.0005324, allocations: 11.59 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3914, allocations: 106.3 MB / 0.9009 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.004323/0.3958, allocations: 2.512 MB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006216/0.4021, allocations: 2.959 MB / 0.9063 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006538/0.4028, allocations: 0 / 0.9063 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00055/0.4034, allocations: 63.59 kB / 0.9063 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.4048, allocations: 196.3 kB / 0.9065 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003018/0.4079, allocations: 0.513 MB / 0.907 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001292/0.4092, allocations: 0.5056 MB / 0.9075 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003779/0.4096, allocations: 100.6 kB / 0.9076 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005459/0.4102, allocations: 167.4 kB / 0.9078 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004831/0.4107, allocations: 195 kB / 0.9079 GB, free: 56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.4108, allocations: 20 kB / 0.908 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001544/0.4123, allocations: 363.7 kB / 0.9083 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.4125, allocations: 67.75 kB / 0.9084 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000347/0.4128, allocations: 224.6 kB / 0.9086 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.4147, allocations: 0.7009 MB / 0.9093 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.4147, allocations: 0 / 0.9093 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.106e-06/0.4147, allocations: 4 kB / 0.9093 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.284e-05/0.4147, allocations: 0 / 0.9093 GB, free: 54.62 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.0015/0.4162, allocations: 0.67 MB / 0.9099 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.779e-05/0.4163, allocations: 8.031 kB / 0.9099 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.527e-05/0.4164, allocations: 66.72 kB / 0.91 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1194/0.5359, allocations: 10.59 MB / 0.9204 GB, free: 43.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00338/0.5394, allocations: 0.9285 MB / 0.9213 GB, free: 42.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-05/0.5395, allocations: 20.94 kB / 0.9213 GB, free: 42.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001386/0.5409, allocations: 28.38 kB / 0.9213 GB, free: 42.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0228/0.5637, allocations: 3.562 MB / 0.9248 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.985e-05/0.5638, allocations: 0 / 0.9248 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00107/0.5649, allocations: 12 kB / 0.9248 GB, free: 38.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-05/0.565, allocations: 8 kB / 0.9248 GB, free: 38.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01893/0.5839, allocations: 2.805 MB / 0.9275 GB, free: 35.8 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.02148/0.6055, allocations: 17.16 MB / 0.9443 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01822/0.6238, allocations: 2.766 MB / 0.947 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01781/0.6416, allocations: 2.62 MB / 0.9496 GB, free: 9.672 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002073/0.6419, allocations: 39.86 kB / 0.9496 GB, free: 9.633 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.642, allocations: 38.56 kB / 0.9496 GB, free: 9.586 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 3.227e-06/0.642, allocations: 0 / 0.9496 GB, free: 9.586 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22): time 0.06046/0.7024, allocations: 8.032 MB / 0.9575 GB, free: 1.543 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.7026, allocations: 55.34 kB / 0.9575 GB, free: 1.477 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006585/0.7033, allocations: 345.6 kB / 0.9579 GB, free: 1.133 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.001257/0.7046, allocations: 33.7 kB / 0.9579 GB, free: 1.094 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004617/0.7051, allocations: 196.4 kB / 0.9581 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001006/0.7061, allocations: 78.91 kB / 0.9582 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001148/0.7073, allocations: 0 / 0.9582 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.7075, allocations: 346.8 kB / 0.9585 GB, free: 480 kB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02803/0.7355, allocations: 3.638 MB / 0.962 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02841/0.764, allocations: 3.688 MB / 0.9656 GB, free: 9.121 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04741/0.8115, allocations: 5.809 MB / 0.9713 GB, free: 3.305 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.782e-05/0.8116, allocations: 3.938 kB / 0.9713 GB, free: 3.301 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.05782/0.8695, allocations: 7.546 MB / 0.9787 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.8697, allocations: 97 kB / 0.9788 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0611/0.9308, allocations: 6.842 MB / 0.9855 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.534e-05/0.931, allocations: 4 kB / 0.9855 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0209/0.9519, allocations: 1.697 MB / 0.9871 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.203e-05/0.9521, allocations: 0 / 0.9871 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01879/0.9709, allocations: 1.287 MB / 0.9884 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001998/0.973, allocations: 207.5 kB / 0.9886 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/0.9731, allocations: 7.938 kB / 0.9886 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06376/1.037, allocations: 7.466 MB / 0.9959 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06057/1.097, allocations: 6.835 MB / 1.003 GB, free: 3.277 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/1.098, allocations: 0 / 1.003 GB, free: 3.277 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02362/1.121, allocations: 1.697 MB / 1.004 GB, free: 1.578 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.611e-05/1.121, allocations: 0 / 1.004 GB, free: 1.578 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02094/1.142, allocations: 1.284 MB / 1.005 GB, free: 300 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001995/1.144, allocations: 203.5 kB / 1.006 GB, free: 96 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002506/1.147, allocations: 221 kB / 1.006 GB, free: 15.87 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009601/1.148, allocations: 39.47 kB / 1.006 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05223/1.2, allocations: 6.347 MB / 1.012 GB, free: 9.465 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.338e-05/1.2, allocations: 4 kB / 1.012 GB, free: 9.461 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.771e-05/1.2, allocations: 0 / 1.012 GB, free: 9.461 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.027e-05/1.2, allocations: 0 / 1.012 GB, free: 9.461 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/1.212, allocations: 6.491 MB / 1.018 GB, free: 1.477 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.05183/1.264, allocations: 5.301 MB / 1.024 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01802/1.282, allocations: 1.451 MB / 1.025 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.359e-05/1.282, allocations: 4 kB / 1.025 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001179/1.283, allocations: 171.5 kB / 1.025 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.435e-05/1.283, allocations: 0 / 1.025 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.283, allocations: 3.938 kB / 1.025 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04929/1.332, allocations: 5.424 MB / 1.031 GB, free: 5.09 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002621/1.335, allocations: 0.5738 MB / 1.031 GB, free: 4.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001036/1.336, allocations: 4 kB / 1.031 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01938/1.356, allocations: 1.077 MB / 1.032 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000418/1.356, allocations: 47.91 kB / 1.032 GB, free: 3.367 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001568/1.358, allocations: 167.6 kB / 1.032 GB, free: 3.203 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00075/1.359, allocations: 239.2 kB / 1.033 GB, free: 2.969 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.382e-06/1.359, allocations: 0 / 1.033 GB, free: 2.969 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005567/1.364, allocations: 0.5895 MB / 1.033 GB, free: 2.379 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0533/1.418, allocations: 6.063 MB / 1.039 GB, free: 12.29 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.09096/1.509, allocations: 9.676 MB / 1.048 GB, free: 2.602 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/1.509, allocations: 0 / 1.048 GB, free: 2.602 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.815/2.324, allocations: 2.727 MB / 1.051 GB, free: 152 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002091/2.326, allocations: 76.48 kB / 1.051 GB, free: 152 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.193/2.519, allocations: 23.65 MB / 1.074 GB, free: 149.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005338/2.52, allocations: 0.7976 MB / 1.075 GB, free: 148.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.02441/2.544, allocations: 1.643 MB / 1.077 GB, free: 147.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005947/2.55, allocations: 0.5934 MB / 1.077 GB, free: 147.3 MB / 0.698 GB Notification: Performance of SimCode: time 2.966e-06/2.55, allocations: 1.469 kB / 1.077 GB, free: 147.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2716/2.822, allocations: 83.52 MB / 1.159 GB, free: 65.71 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003537/2.822, allocations: 235.4 kB / 1.159 GB, free: 65.45 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.39/20.21, allocations: 6.953 kB / 1.159 GB, free: 65.45 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)