Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009006/0.0009005, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0009153/0.0009155, allocations: 172.7 kB / 15.95 MB, free: 208 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.744/1.744, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.576/1.576, allocations: 252 MB / 0.5102 GB, free: 4.758 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.0005486/0.0005487, allocations: 20 kB / 0.6243 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6035/0.6041, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.9829/1.587, allocations: 227.6 MB / 0.9504 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02456/1.612, allocations: 20.75 MB / 0.9707 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003273/1.615, allocations: 46.38 kB / 0.9707 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003131/1.618, allocations: 0.6384 MB / 0.9714 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004478/1.623, allocations: 1.165 MB / 0.9725 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005909/1.629, allocations: 1.345 MB / 0.9738 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005482/1.634, allocations: 2.986 MB / 0.9767 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001974/1.636, allocations: 0.8984 MB / 0.9776 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003092/1.639, allocations: 1.056 MB / 0.9786 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001686/1.641, allocations: 0.802 MB / 0.9794 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001172/1.641, allocations: 39.56 kB / 0.9795 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003422/1.644, allocations: 0.9014 MB / 0.9803 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004833/1.645, allocations: 285.3 kB / 0.9806 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00107/1.646, allocations: 266.6 kB / 0.9809 GB, free: 20.44 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002909/1.649, allocations: 1.571 MB / 0.9824 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.649, allocations: 0 / 0.9824 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.786e-06/1.649, allocations: 4 kB / 0.9824 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.67e-05/1.649, allocations: 2.125 kB / 0.9824 GB, free: 20.32 MB / 0.7325 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.002094/1.651, allocations: 1.235 MB / 0.9836 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/1.651, allocations: 8.375 kB / 0.9836 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/1.652, allocations: 231.9 kB / 0.9838 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/1.654, allocations: 0.8272 MB / 0.9846 GB, free: 19.17 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002216/1.654, allocations: 185.7 kB / 0.9848 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/1.654, allocations: 87.91 kB / 0.9849 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/1.656, allocations: 0.9277 MB / 0.9858 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/1.656, allocations: 0 / 0.9858 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.002e-05/1.656, allocations: 36.47 kB / 0.9858 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/1.656, allocations: 20.94 kB / 0.9859 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009915/1.657, allocations: 0.6266 MB / 0.9865 GB, free: 18.9 MB / 0.7325 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.0056/1.662, allocations: 4.455 MB / 0.9908 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004133/1.663, allocations: 187 kB / 0.991 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/1.663, allocations: 140.8 kB / 0.9911 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001243/1.664, allocations: 1.025 MB / 0.9921 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/1.664, allocations: 37.73 kB / 0.9922 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=24): time 3.226e-06/1.664, allocations: 0 / 0.9922 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24): time 0.001119/1.665, allocations: 465.6 kB / 0.9926 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/1.665, allocations: 57.56 kB / 0.9927 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/1.667, allocations: 1.098 MB / 0.9937 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/1.667, allocations: 31.86 kB / 0.9938 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003633/1.667, allocations: 0.506 MB / 0.9943 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.1e-05/1.667, allocations: 89.41 kB / 0.9944 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.967e-05/1.667, allocations: 8.094 kB / 0.9944 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001417/1.667, allocations: 330.8 kB / 0.9947 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/1.668, allocations: 128.2 kB / 0.9948 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/1.668, allocations: 383.3 kB / 0.9952 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/1.668, allocations: 178.7 kB / 0.9953 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/1.668, allocations: 0 / 0.9953 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008393/1.669, allocations: 0.5374 MB / 0.9959 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/1.669, allocations: 12.09 kB / 0.9959 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/1.669, allocations: 6.531 kB / 0.9959 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/1.669, allocations: 15.69 kB / 0.9959 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/1.67, allocations: 89.61 kB / 0.996 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/1.67, allocations: 12.27 kB / 0.996 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008512/1.67, allocations: 124.2 kB / 0.9961 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.09e-05/1.671, allocations: 29.17 kB / 0.9961 GB, free: 13.58 MB / 0.7325 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.0004454/1.671, allocations: 295.2 kB / 0.9964 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/1.671, allocations: 107.7 kB / 0.9965 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007064/1.672, allocations: 420.4 kB / 0.9969 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/1.672, allocations: 0 / 0.9969 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/1.672, allocations: 6 kB / 0.9969 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.672, allocations: 5.203 kB / 0.9969 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/1.674, allocations: 1.549 MB / 0.9984 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/1.674, allocations: 3.594 kB / 0.9984 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/1.674, allocations: 43.08 kB / 0.9985 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/1.674, allocations: 6.469 kB / 0.9985 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/1.674, allocations: 7.281 kB / 0.9985 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/1.674, allocations: 14.38 kB / 0.9985 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/1.674, allocations: 7.75 kB / 0.9985 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005447/1.675, allocations: 0.5643 MB / 0.9991 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003006/1.675, allocations: 244.9 kB / 0.9993 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/1.675, allocations: 15.66 kB / 0.9993 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004063/1.676, allocations: 29.62 kB / 0.9994 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/1.676, allocations: 35.61 kB / 0.9994 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/1.676, allocations: 11.56 kB / 0.9994 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009414/1.677, allocations: 0.7643 MB / 1 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/1.677, allocations: 0 / 1 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001086/1.678, allocations: 282 kB / 1 GB, free: 11.89 MB / 0.7325 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.0005834/1.678, allocations: 327.8 kB / 1.001 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005658/1.679, allocations: 331.4 kB / 1.001 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.679, allocations: 0 / 1.001 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001843/1.679, allocations: 143.6 kB / 1.001 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/1.681, allocations: 475.4 kB / 1.002 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/1.683, allocations: 1.82 MB / 1.003 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006484/1.684, allocations: 1.062 MB / 1.004 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007934/1.685, allocations: 200.2 kB / 1.005 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/1.685, allocations: 71.3 kB / 1.005 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of SimCode: time 9.42e-07/1.685, allocations: 0 / 1.005 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of Templates: time 0.03152/1.717, allocations: 16.87 MB / 1.021 GB, free: 0.5352 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) Environment - environmentSimulation: