Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.614/4.614, allocations: 0.5623 GB / 0.5769 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002368/0.002368, allocations: 353.6 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.94/3.94, allocations: 410.7 MB / 1.112 GB, free: 5.969 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001748/0.001748, allocations: 182 kB / 1.225 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004883/0.0004884, allocations: 16 kB / 1.348 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5689/0.5694, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2093/0.7787, allocations: 223.8 MB / 1.679 GB, free: 60.46 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02441/0.8032, allocations: 20.54 MB / 1.699 GB, free: 39.87 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001764/0.805, allocations: 43.69 kB / 1.699 GB, free: 39.83 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001955/0.807, allocations: 0.5395 MB / 1.7 GB, free: 39.29 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.005039/0.812, allocations: 1.591 MB / 1.701 GB, free: 37.69 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00499/0.817, allocations: 1.429 MB / 1.703 GB, free: 36.28 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.004225/0.8213, allocations: 3.132 MB / 1.706 GB, free: 33.13 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.8228, allocations: 0.907 MB / 1.707 GB, free: 32.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/0.8247, allocations: 0.9683 MB / 1.708 GB, free: 31.23 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.8257, allocations: 0.813 MB / 1.709 GB, free: 30.41 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.8259, allocations: 32 kB / 1.709 GB, free: 30.38 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002064/0.8279, allocations: 0.7285 MB / 1.709 GB, free: 29.65 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003006/0.8283, allocations: 283 kB / 1.71 GB, free: 29.38 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003023/0.8286, allocations: 261.1 kB / 1.71 GB, free: 29.11 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001687/0.8303, allocations: 1.508 MB / 1.711 GB, free: 27.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.406e-06/0.8303, allocations: 0 / 1.711 GB, free: 27.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.079e-06/0.8303, allocations: 0 / 1.711 GB, free: 27.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.351e-05/0.8303, allocations: 0 / 1.711 GB, free: 27.6 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001723/0.8321, allocations: 1.223 MB / 1.712 GB, free: 26.33 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.8321, allocations: 16.09 kB / 1.712 GB, free: 26.32 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.8334, allocations: 234.3 kB / 1.713 GB, free: 26.09 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.8348, allocations: 0.8264 MB / 1.713 GB, free: 25.21 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.8349, allocations: 180.8 kB / 1.714 GB, free: 25.02 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.8351, allocations: 100 kB / 1.714 GB, free: 24.92 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.8368, allocations: 0.9206 MB / 1.715 GB, free: 23.96 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.8368, allocations: 3.938 kB / 1.715 GB, free: 23.96 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.455e-05/0.8369, allocations: 36 kB / 1.715 GB, free: 23.92 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.8369, allocations: 24 kB / 1.715 GB, free: 23.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.8383, allocations: 0.6207 MB / 1.715 GB, free: 23.28 MB / 0.8542 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.004671/0.843, allocations: 4.439 MB / 1.72 GB, free: 18.45 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/0.8434, allocations: 190.6 kB / 1.72 GB, free: 18.25 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.8436, allocations: 151.7 kB / 1.72 GB, free: 18.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00084/0.8445, allocations: 1.029 MB / 1.721 GB, free: 16.85 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.8445, allocations: 38.59 kB / 1.721 GB, free: 16.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=24): time 3.336e-06/0.8446, allocations: 0 / 1.721 GB, free: 16.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24): time 0.001177/0.8457, allocations: 463.4 kB / 1.721 GB, free: 16.35 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.8458, allocations: 55.41 kB / 1.722 GB, free: 16.28 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.8473, allocations: 1.098 MB / 1.723 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.8474, allocations: 33.7 kB / 1.723 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003768/0.8478, allocations: 0.5079 MB / 1.723 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.781e-05/0.8479, allocations: 94.67 kB / 1.723 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.8479, allocations: 4 kB / 1.723 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.05e-05/0.848, allocations: 326 kB / 1.724 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/0.8483, allocations: 128.8 kB / 1.724 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000435/0.8487, allocations: 383.1 kB / 1.724 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.8491, allocations: 179.8 kB / 1.724 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.086e-06/0.8491, allocations: 0 / 1.724 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00107/0.8502, allocations: 0.539 MB / 1.725 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.8502, allocations: 8 kB / 1.725 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.8503, allocations: 7.938 kB / 1.725 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.8503, allocations: 12 kB / 1.725 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004407/0.8507, allocations: 88.17 kB / 1.725 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.8508, allocations: 11.94 kB / 1.725 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009504/0.8517, allocations: 131.3 kB / 1.725 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-05/0.8518, allocations: 28 kB / 1.725 GB, free: 12.59 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 48 * 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.0004544/0.8523, allocations: 285.6 kB / 1.725 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.8524, allocations: 102.7 kB / 1.725 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007991/0.8533, allocations: 433.6 kB / 1.726 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/0.8533, allocations: 0 / 1.726 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.735e-06/0.8533, allocations: 0 / 1.726 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.563e-06/0.8533, allocations: 3.938 kB / 1.726 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002379/0.8557, allocations: 1.55 MB / 1.727 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.8557, allocations: 4 kB / 1.727 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.856, allocations: 39.92 kB / 1.727 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/0.856, allocations: 8 kB / 1.727 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.856, allocations: 15.95 kB / 1.727 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.445e-06/0.856, allocations: 7.938 kB / 1.727 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/0.8561, allocations: 4.5 kB / 1.727 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006378/0.8567, allocations: 0.5651 MB / 1.728 GB, free: 9.383 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000401/0.8571, allocations: 243.6 kB / 1.728 GB, free: 9.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.8573, allocations: 11.95 kB / 1.728 GB, free: 9.113 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006205/0.8579, allocations: 39.81 kB / 1.728 GB, free: 9.074 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.858, allocations: 27.81 kB / 1.728 GB, free: 9.047 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.445e-05/0.858, allocations: 19.98 kB / 1.728 GB, free: 9.027 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001151/0.8592, allocations: 0.7625 MB / 1.729 GB, free: 8.258 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.69e-07/0.8592, allocations: 0 / 1.729 GB, free: 8.258 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00105/0.8603, allocations: 283.5 kB / 1.729 GB, free: 7.98 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005658/0.8608, allocations: 303.5 kB / 1.73 GB, free: 7.684 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007078/0.8616, allocations: 328.2 kB / 1.73 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.042e-06/0.8616, allocations: 0 / 1.73 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002435/0.8618, allocations: 149.2 kB / 1.73 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/0.8646, allocations: 476.5 kB / 1.73 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.8672, allocations: 1.817 MB / 1.732 GB, free: 4.867 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005979/0.8678, allocations: 1.083 MB / 1.733 GB, free: 3.758 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001044/0.8689, allocations: 189.5 kB / 1.733 GB, free: 3.574 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.8691, allocations: 67.42 kB / 1.734 GB, free: 3.508 MB / 0.8542 GB Notification: Performance of SimCode: time 1.701e-06/0.8691, allocations: 8 kB / 1.734 GB, free: 3.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.5383/1.407, allocations: 16.69 MB / 1.75 GB, free: 271.4 MB / 0.8542 GB