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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008305/0.0008305, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005572/0.005572, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.201/1.201, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.666/1.666, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004933/0.0004933, allocations: 18.56 kB / 0.6744 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2027, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.002708/0.2055, allocations: 2.512 MB / 0.7905 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003703/0.2092, allocations: 2.949 MB / 0.7933 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.2093, allocations: 4 kB / 0.7933 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.2095, allocations: 63.81 kB / 0.7934 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004707/0.21, allocations: 190.8 kB / 0.7936 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.2111, allocations: 0.5164 MB / 0.7941 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005305/0.2117, allocations: 0.5056 MB / 0.7946 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.2119, allocations: 90.61 kB / 0.7947 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.212, allocations: 167.4 kB / 0.7948 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/0.2122, allocations: 199 kB / 0.795 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.396e-05/0.2123, allocations: 20 kB / 0.795 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006234/0.2129, allocations: 367.7 kB / 0.7954 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.459e-05/0.213, allocations: 75.67 kB / 0.7955 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.2132, allocations: 224.6 kB / 0.7957 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000805/0.214, allocations: 0.6854 MB / 0.7963 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.214, allocations: 8 kB / 0.7963 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.382e-06/0.214, allocations: 0 / 0.7963 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.214, allocations: 0 / 0.7963 GB, free: 2.883 MB / 0.6075 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.0009513/0.215, allocations: 0.6778 MB / 0.797 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.215, allocations: 8.031 kB / 0.797 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.738e-05/0.2151, allocations: 62.72 kB / 0.7971 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09405/0.3092, allocations: 10.6 MB / 0.8074 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001799/0.311, allocations: 0.9247 MB / 0.8083 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.311, allocations: 20.94 kB / 0.8084 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005624/0.3116, allocations: 24.38 kB / 0.8084 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01544/0.3271, allocations: 3.566 MB / 0.8119 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3271, allocations: 3.938 kB / 0.8119 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002876/0.3274, allocations: 8 kB / 0.8119 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.3274, allocations: 8 kB / 0.8119 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01442/0.3418, allocations: 2.793 MB / 0.8146 GB, free: 64 kB / 0.6231 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.0145/0.3564, allocations: 17.17 MB / 0.8314 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01394/0.3703, allocations: 2.774 MB / 0.8341 GB, free: 8.535 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01412/0.3845, allocations: 2.62 MB / 0.8366 GB, free: 5.91 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.3846, allocations: 35.97 kB / 0.8367 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.3846, allocations: 38.5 kB / 0.8367 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 2.544e-06/0.3846, allocations: 0 / 0.8367 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22): time 0.04272/0.4274, allocations: 8.037 MB / 0.8446 GB, free: 13.78 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.4274, allocations: 51.41 kB / 0.8446 GB, free: 13.71 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/0.4278, allocations: 337.8 kB / 0.8449 GB, free: 13.38 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005316/0.4283, allocations: 29.7 kB / 0.845 GB, free: 13.34 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.4286, allocations: 200.4 kB / 0.8452 GB, free: 13.14 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003161/0.4289, allocations: 78.83 kB / 0.8452 GB, free: 13.06 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000429/0.4293, allocations: 37.7 kB / 0.8453 GB, free: 13.02 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.4295, allocations: 346.8 kB / 0.8456 GB, free: 12.67 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01974/0.4492, allocations: 3.634 MB / 0.8491 GB, free: 9.035 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01982/0.4691, allocations: 3.692 MB / 0.8527 GB, free: 5.328 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03235/0.5014, allocations: 5.782 MB / 0.8584 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.994e-06/0.5015, allocations: 3.938 kB / 0.8584 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.03928/0.5408, allocations: 7.534 MB / 0.8658 GB, free: 7.988 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.459e-05/0.5409, allocations: 101 kB / 0.8659 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03511/0.576, allocations: 6.842 MB / 0.8725 GB, free: 1.031 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.576, allocations: 0 / 0.8725 GB, free: 1.031 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01382/0.5899, allocations: 1.697 MB / 0.8742 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.5899, allocations: 0 / 0.8742 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01263/0.6025, allocations: 1.287 MB / 0.8754 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00067/0.6032, allocations: 211.5 kB / 0.8756 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.6033, allocations: 7.938 kB / 0.8757 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03936/0.6426, allocations: 7.462 MB / 0.8829 GB, free: 6.359 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0353/0.678, allocations: 6.847 MB / 0.8896 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.734e-06/0.678, allocations: 0 / 0.8896 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01388/0.6919, allocations: 1.689 MB / 0.8913 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.6919, allocations: 0 / 0.8913 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01296/0.7049, allocations: 1.288 MB / 0.8925 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007146/0.7057, allocations: 207.5 kB / 0.8927 GB, free: 12.32 MB / 0.7169 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.0008365/0.7065, allocations: 221 kB / 0.8929 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003584/0.7069, allocations: 35.56 kB / 0.893 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03276/0.7396, allocations: 6.347 MB / 0.8992 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.7397, allocations: 4 kB / 0.8992 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.7397, allocations: 0 / 0.8992 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.7397, allocations: 0 / 0.8992 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005988/0.7457, allocations: 6.495 MB / 0.9055 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02857/0.7743, allocations: 5.298 MB / 0.9107 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01201/0.7864, allocations: 1.447 MB / 0.9121 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-05/0.7864, allocations: 7.938 kB / 0.9121 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004748/0.7869, allocations: 171.5 kB / 0.9123 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.7869, allocations: 0 / 0.9123 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.7869, allocations: 4 kB / 0.9123 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02903/0.8159, allocations: 5.428 MB / 0.9176 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/0.8174, allocations: 0.5739 MB / 0.9181 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000392/0.8178, allocations: 8 kB / 0.9182 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.3687/1.186, allocations: 1.072 MB / 0.9192 GB, free: 136.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002137/1.187, allocations: 40.17 kB / 0.9192 GB, free: 136.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006524/1.187, allocations: 177.7 kB / 0.9194 GB, free: 136.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002808/1.188, allocations: 237.1 kB / 0.9196 GB, free: 136.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.188, allocations: 0 / 0.9196 GB, free: 136.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002769/1.19, allocations: 0.586 MB / 0.9202 GB, free: 136.2 MB / 0.7325 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.03044/1.221, allocations: 6.041 MB / 0.9261 GB, free: 135.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.05222/1.273, allocations: 9.67 MB / 0.9356 GB, free: 134.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/1.273, allocations: 0 / 0.9356 GB, free: 134.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01455/1.288, allocations: 2.739 MB / 0.9382 GB, free: 133.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/1.289, allocations: 78.53 kB / 0.9383 GB, free: 133.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1041/1.393, allocations: 23.48 MB / 0.9612 GB, free: 119.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/1.393, allocations: 0.7957 MB / 0.962 GB, free: 118.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0109/1.404, allocations: 1.633 MB / 0.9636 GB, free: 116.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002844/1.407, allocations: 0.5958 MB / 0.9642 GB, free: 116.1 MB / 0.7325 GB Notification: Performance of SimCode: time 8.82e-07/1.407, allocations: 0 / 0.9642 GB, free: 116.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.006/7.413, allocations: 83.51 MB / 1.046 GB, free: 32.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.04714/7.46, allocations: 225.4 kB / 1.046 GB, free: 32.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.085/15.54, allocations: 0 / 1.046 GB, free: 32.23 MB / 0.7325 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/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)