Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.926/1.926, allocations: 289.9 MB / 297.4 MB, free: 6.418 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.002187/0.002187, allocations: 180.8 kB / 366.7 MB, free: 1.676 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.361/2.361, allocations: 205.2 MB / 0.626 GB, free: 7.125 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008779/0.0008779, allocations: 91.42 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.382e-05/2.389e-05, allocations: 7.984 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7859/0.7859, allocations: 116.3 MB / 0.9733 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2044/0.9904, allocations: 146.6 MB / 1.116 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/0.9907, allocations: 92.66 kB / 1.117 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04808/1.039, allocations: 16.27 MB / 1.132 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.713e-06/1.039, allocations: 0 / 1.132 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.031e-05/1.039, allocations: 8 kB / 1.132 GB, free: 3.164 MB / 0.7292 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.001063/1.04, allocations: 0.6577 MB / 1.133 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/1.04, allocations: 12.03 kB / 1.133 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09597/1.136, allocations: 11.05 MB / 1.144 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01619/1.152, allocations: 2.499 MB / 1.146 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/1.152, allocations: 8 kB / 1.146 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004879/1.153, allocations: 27.44 kB / 1.146 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001193/1.154, allocations: 0.6962 MB / 1.147 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/1.156, allocations: 0.9204 MB / 1.148 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/1.156, allocations: 7.938 kB / 1.148 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/1.156, allocations: 0 / 1.148 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/1.156, allocations: 8 kB / 1.148 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006227/1.162, allocations: 5.426 MB / 1.153 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009634/1.163, allocations: 0.6822 MB / 1.154 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007744/1.164, allocations: 0.536 MB / 1.154 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/1.164, allocations: 39.91 kB / 1.154 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/1.164, allocations: 30.56 kB / 1.155 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 1.964e-06/1.164, allocations: 0 / 1.155 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of matching and sorting (n=22): time 0.006937/1.171, allocations: 1.831 MB / 1.156 GB, free: 9.578 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/1.171, allocations: 55.41 kB / 1.156 GB, free: 9.512 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/1.171, allocations: 245.2 kB / 1.157 GB, free: 9.266 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002151/1.171, allocations: 25.7 kB / 1.157 GB, free: 9.234 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/1.172, allocations: 204.5 kB / 1.157 GB, free: 9.031 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/1.172, allocations: 74.84 kB / 1.157 GB, free: 8.957 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/1.172, allocations: 0 / 1.157 GB, free: 8.957 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.172, allocations: 349.7 kB / 1.157 GB, free: 8.609 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/1.174, allocations: 1.059 MB / 1.158 GB, free: 7.551 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/1.175, allocations: 1.119 MB / 1.159 GB, free: 6.41 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/1.187, allocations: 2.389 MB / 1.162 GB, free: 4.02 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/1.187, allocations: 0 / 1.162 GB, free: 4.02 MB / 0.7605 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.01439/1.201, allocations: 3.719 MB / 1.165 GB, free: 300 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.298e-05/1.201, allocations: 97 kB / 1.165 GB, free: 196 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01377/1.215, allocations: 3.291 MB / 1.169 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.06e-05/1.215, allocations: 0 / 1.169 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008717/1.224, allocations: 0.9481 MB / 1.17 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.15e-05/1.224, allocations: 7.953 kB / 1.17 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007946/1.232, allocations: 0.788 MB / 1.17 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004479/1.232, allocations: 67.89 kB / 1.17 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.232, allocations: 4 kB / 1.17 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0145/1.247, allocations: 3.647 MB / 1.174 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01254/1.259, allocations: 3.295 MB / 1.177 GB, free: 4.129 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/1.259, allocations: 4 kB / 1.177 GB, free: 4.125 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008255/1.268, allocations: 0.9481 MB / 1.178 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/1.268, allocations: 0 / 1.178 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007585/1.275, allocations: 0.7764 MB / 1.179 GB, free: 2.398 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003251/1.276, allocations: 75.88 kB / 1.179 GB, free: 2.324 MB / 0.7761 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 () * 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.0004574/1.276, allocations: 116.9 kB / 1.179 GB, free: 2.203 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006696/1.283, allocations: 1.824 MB / 1.181 GB, free: 384 kB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/1.283, allocations: 31.62 kB / 1.181 GB, free: 352 kB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006454/1.289, allocations: 1.774 MB / 1.183 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.527e-06/1.29, allocations: 4 kB / 1.183 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.29, allocations: 3.75 kB / 1.183 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/1.29, allocations: 0 / 1.183 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/1.291, allocations: 1.041 MB / 1.184 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003766/1.295, allocations: 1.173 MB / 1.185 GB, free: 12.27 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002784/1.297, allocations: 327.6 kB / 1.185 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-05/1.297, allocations: 6.625 kB / 1.185 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.938e-05/1.298, allocations: 27.95 kB / 1.185 GB, free: 11.92 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/1.298, allocations: 7.938 kB / 1.185 GB, free: 11.91 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.298, allocations: 0 / 1.185 GB, free: 11.91 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004/1.302, allocations: 1.307 MB / 1.186 GB, free: 10.59 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003969/1.302, allocations: 236.4 kB / 1.187 GB, free: 10.34 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/1.302, allocations: 3.984 kB / 1.187 GB, free: 10.34 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002471/1.305, allocations: 235.8 kB / 1.187 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.784e-05/1.305, allocations: 23.83 kB / 1.187 GB, free: 10.08 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-05/1.305, allocations: 31.95 kB / 1.187 GB, free: 10.05 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002195/1.305, allocations: 184.6 kB / 1.187 GB, free: 9.871 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.3e-07/1.305, allocations: 0 / 1.187 GB, free: 9.871 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001694/1.307, allocations: 363.4 kB / 1.187 GB, free: 9.516 MB / 0.7917 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * 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.004824/1.312, allocations: 1.93 MB / 1.189 GB, free: 7.555 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.004713/1.316, allocations: 2.403 MB / 1.192 GB, free: 5.152 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.316, allocations: 0 / 1.192 GB, free: 5.152 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0006701/1.317, allocations: 411.8 kB / 1.192 GB, free: 4.75 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004676/1.317, allocations: 53.78 kB / 1.192 GB, free: 4.703 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/1.319, allocations: 0.7224 MB / 1.193 GB, free: 3.945 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/1.32, allocations: 0.804 MB / 1.194 GB, free: 3.117 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.004442/1.324, allocations: 0.7187 MB / 1.194 GB, free: 2.461 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/1.325, allocations: 235.2 kB / 1.194 GB, free: 2.23 MB / 0.7917 GB Notification: Performance of SimCode: time 3.01e-07/1.325, allocations: 0 / 1.194 GB, free: 2.23 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07808/1.403, allocations: 39.22 MB / 1.233 GB, free: 10.97 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/1.404, allocations: 158 kB / 1.233 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.852/6.256, allocations: 0 / 1.233 GB, free: 10.77 MB / 0.8386 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)