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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007857/0.0007857, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008651/0.0008657, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.4 MB / 222.1 MB, free: 5.391 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.608/1.608, allocations: 252 MB / 0.5102 GB, free: 4.797 MB / 414.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.0005291/0.0005292, allocations: 15.94 kB / 0.6243 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5008/0.5013, allocations: 106.3 MB / 0.7281 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003334/0.5047, allocations: 2.412 MB / 0.7305 GB, free: 8.949 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004363/0.5091, allocations: 2.745 MB / 0.7332 GB, free: 6.191 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002341/0.5094, allocations: 4 kB / 0.7332 GB, free: 6.188 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.5096, allocations: 51.61 kB / 0.7332 GB, free: 6.137 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006786/0.5103, allocations: 200.8 kB / 0.7334 GB, free: 5.941 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.5116, allocations: 494.5 kB / 0.7339 GB, free: 5.457 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006509/0.5123, allocations: 493.8 kB / 0.7344 GB, free: 4.973 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002522/0.5125, allocations: 89.94 kB / 0.7344 GB, free: 4.883 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.5128, allocations: 159.4 kB / 0.7346 GB, free: 4.727 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003281/0.5131, allocations: 195.2 kB / 0.7348 GB, free: 4.535 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.234e-05/0.5132, allocations: 23.94 kB / 0.7348 GB, free: 4.512 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008462/0.514, allocations: 351.7 kB / 0.7351 GB, free: 4.168 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.074e-05/0.5141, allocations: 75.67 kB / 0.7352 GB, free: 4.094 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.101e-05/0.5142, allocations: 93.52 kB / 0.7353 GB, free: 3.996 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006586/0.5149, allocations: 0.5142 MB / 0.7358 GB, free: 3.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.5149, allocations: 4 kB / 0.7358 GB, free: 3.477 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5149, allocations: 4 kB / 0.7358 GB, free: 3.473 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.508e-05/0.5149, allocations: 0 / 0.7358 GB, free: 3.473 MB / 0.545 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.00112/0.516, allocations: 0.6816 MB / 0.7365 GB, free: 2.742 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.5161, allocations: 8.031 kB / 0.7365 GB, free: 2.734 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07826/0.5943, allocations: 10.59 MB / 0.7468 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/0.5962, allocations: 0.9118 MB / 0.7477 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.5963, allocations: 20.56 kB / 0.7477 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006494/0.5969, allocations: 32 kB / 0.7478 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01356/0.6105, allocations: 3.558 MB / 0.7512 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.6106, allocations: 0 / 0.7512 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002699/0.6108, allocations: 11.94 kB / 0.7513 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.6108, allocations: 12 kB / 0.7513 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01192/0.6228, allocations: 2.797 MB / 0.754 GB, free: 0.7266 MB / 0.5606 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.01538/0.6382, allocations: 17.16 MB / 0.7708 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01132/0.6495, allocations: 2.766 MB / 0.7735 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01129/0.6608, allocations: 2.621 MB / 0.776 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.661, allocations: 31.92 kB / 0.776 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.661, allocations: 38.56 kB / 0.7761 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=22): time 2.004e-06/0.661, allocations: 0 / 0.7761 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22): time 0.03632/0.6973, allocations: 8.043 MB / 0.7839 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.6974, allocations: 51.41 kB / 0.784 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000455/0.6979, allocations: 333.6 kB / 0.7843 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0005577/0.6985, allocations: 37.7 kB / 0.7843 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.6987, allocations: 200.3 kB / 0.7845 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002885/0.699, allocations: 74.91 kB / 0.7846 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003282/0.6993, allocations: 4 kB / 0.7846 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.6995, allocations: 342.8 kB / 0.7849 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01613/0.7156, allocations: 3.63 MB / 0.7885 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01645/0.7321, allocations: 3.678 MB / 0.7921 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01619/0.7483, allocations: 3.357 MB / 0.7954 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.7484, allocations: 3.938 kB / 0.7954 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.03304/0.7814, allocations: 7.519 MB / 0.8027 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.7816, allocations: 98.67 kB / 0.8028 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02948/0.8111, allocations: 6.838 MB / 0.8095 GB, free: 4.234 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/0.8111, allocations: 3.938 kB / 0.8095 GB, free: 4.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01181/0.8229, allocations: 1.693 MB / 0.8111 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.823, allocations: 0 / 0.8111 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01068/0.8337, allocations: 1.295 MB / 0.8124 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006033/0.8343, allocations: 207.5 kB / 0.8126 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.8343, allocations: 4 kB / 0.8126 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03299/0.8673, allocations: 7.47 MB / 0.8199 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02996/0.8973, allocations: 6.827 MB / 0.8266 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.8974, allocations: 4 kB / 0.8266 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0114/0.9088, allocations: 1.693 MB / 0.8282 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.9089, allocations: 4 kB / 0.8282 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01014/0.919, allocations: 1.28 MB / 0.8295 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000683/0.9197, allocations: 207.5 kB / 0.8297 GB, free: 15.54 MB / 0.6544 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.0007102/0.9204, allocations: 221 kB / 0.8299 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002834/0.9207, allocations: 31.62 kB / 0.8299 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02559/0.9463, allocations: 6.356 MB / 0.8361 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.9464, allocations: 0 / 0.8361 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.9464, allocations: 4 kB / 0.8361 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.9464, allocations: 4 kB / 0.8361 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005076/0.9515, allocations: 6.491 MB / 0.8425 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02254/0.974, allocations: 5.286 MB / 0.8476 GB, free: 11.62 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009446/0.9835, allocations: 1.455 MB / 0.849 GB, free: 10.16 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/0.9836, allocations: 0 / 0.849 GB, free: 10.16 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004033/0.984, allocations: 175.5 kB / 0.8492 GB, free: 9.988 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.984, allocations: 0 / 0.8492 GB, free: 9.988 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.984, allocations: 0 / 0.8492 GB, free: 9.988 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02268/1.007, allocations: 5.432 MB / 0.8545 GB, free: 4.535 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/1.008, allocations: 0.5622 MB / 0.8551 GB, free: 3.953 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003702/1.008, allocations: 4 kB / 0.8551 GB, free: 3.949 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008595/1.017, allocations: 1.081 MB / 0.8561 GB, free: 2.867 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/1.017, allocations: 47.84 kB / 0.8562 GB, free: 2.82 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004124/1.017, allocations: 171.5 kB / 0.8563 GB, free: 2.652 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002635/1.018, allocations: 235.2 kB / 0.8566 GB, free: 2.422 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/1.018, allocations: 0 / 0.8566 GB, free: 2.422 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002389/1.02, allocations: 0.5934 MB / 0.8571 GB, free: 1.828 MB / 0.67 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.0004599/1.02, allocations: 171.1 kB / 0.8573 GB, free: 1.652 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.04108/1.062, allocations: 9.656 MB / 0.8667 GB, free: 7.988 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.062, allocations: 4 kB / 0.8667 GB, free: 7.984 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0119/1.073, allocations: 2.739 MB / 0.8694 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009341/1.074, allocations: 81.41 kB / 0.8695 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/1.087, allocations: 3.197 MB / 0.8726 GB, free: 1.938 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/1.087, allocations: 0.7923 MB / 0.8734 GB, free: 1.113 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.01146/1.099, allocations: 1.646 MB / 0.875 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002653/1.101, allocations: 0.4943 MB / 0.8755 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of SimCode: time 7.72e-07/1.101, allocations: 0 / 0.8755 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of Templates: time 0.5048/1.606, allocations: 79.26 MB / 0.9529 GB, free: 136.3 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile Environment - environmentSimulation: (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 & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) Environment - environmentSimulation: