Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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: translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001066/0.001066, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001175/0.001175, allocations: 177.3 kB / 15.95 MB, free: 216 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.481/1.481, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.717/1.717, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0005255/0.0005255, allocations: 16.75 kB / 0.6735 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2771, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.722/0.9992, allocations: 205.7 MB / 0.988 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02201/1.021, allocations: 18.81 MB / 1.006 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002201/1.023, allocations: 51.19 kB / 1.006 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002322/1.026, allocations: 0.5815 MB / 1.007 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005391/1.031, allocations: 1.474 MB / 1.008 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005515/1.037, allocations: 1.474 MB / 1.01 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004665/1.041, allocations: 1.778 MB / 1.012 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001703/1.043, allocations: 0.9271 MB / 1.012 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002588/1.046, allocations: 0.9253 MB / 1.013 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/1.047, allocations: 0.5778 MB / 1.014 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.922e-05/1.047, allocations: 36.19 kB / 1.014 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002803/1.05, allocations: 0.8059 MB / 1.015 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003337/1.05, allocations: 268.2 kB / 1.015 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003898/1.05, allocations: 263.3 kB / 1.015 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001938/1.052, allocations: 1.487 MB / 1.017 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/1.052, allocations: 0 / 1.017 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.014e-06/1.052, allocations: 0 / 1.017 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.463e-05/1.052, allocations: 7.938 kB / 1.017 GB, free: 5.488 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.001834/1.054, allocations: 1.22 MB / 1.018 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/1.054, allocations: 10.91 kB / 1.018 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/1.055, allocations: 237.9 kB / 1.018 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/1.057, allocations: 0.822 MB / 1.019 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001728/1.057, allocations: 185.4 kB / 1.019 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/1.057, allocations: 91.31 kB / 1.019 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/1.058, allocations: 0.918 MB / 1.02 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/1.058, allocations: 2.531 kB / 1.02 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.566e-05/1.059, allocations: 39.89 kB / 1.02 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/1.059, allocations: 21.72 kB / 1.02 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/1.06, allocations: 0.6256 MB / 1.021 GB, free: 2.656 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.004953/1.065, allocations: 4.432 MB / 1.025 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003687/1.065, allocations: 184.5 kB / 1.025 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006674/1.066, allocations: 0.6698 MB / 1.026 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/1.066, allocations: 34.55 kB / 1.026 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=24): time 1.713e-06/1.066, allocations: 2.781 kB / 1.026 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24): time 0.001012/1.067, allocations: 455.2 kB / 1.026 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/1.067, allocations: 53.94 kB / 1.026 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/1.068, allocations: 1.099 MB / 1.028 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/1.068, allocations: 32.55 kB / 1.028 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004291/1.069, allocations: 0.4991 MB / 1.028 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.294e-05/1.069, allocations: 93.3 kB / 1.028 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.953e-05/1.069, allocations: 11.19 kB / 1.028 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.069, allocations: 324.7 kB / 1.028 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/1.069, allocations: 117.1 kB / 1.029 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004648/1.07, allocations: 408.9 kB / 1.029 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/1.07, allocations: 176.6 kB / 1.029 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/1.07, allocations: 6.766 kB / 1.029 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009656/1.071, allocations: 0.5444 MB / 1.03 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/1.071, allocations: 15.97 kB / 1.03 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/1.071, allocations: 6.312 kB / 1.03 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.9e-05/1.071, allocations: 10.66 kB / 1.03 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/1.071, allocations: 91.83 kB / 1.03 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/1.071, allocations: 13.5 kB / 1.03 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009137/1.072, allocations: 124.4 kB / 1.03 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-05/1.072, allocations: 26.56 kB / 1.03 GB, free: 11 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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.0003977/1.073, allocations: 296.8 kB / 1.03 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/1.073, allocations: 104.4 kB / 1.03 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006566/1.074, allocations: 414.8 kB / 1.031 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/1.074, allocations: 1.906 kB / 1.031 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.074, allocations: 6.938 kB / 1.031 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/1.074, allocations: 3.984 kB / 1.031 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/1.076, allocations: 1.51 MB / 1.032 GB, free: 9.336 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/1.076, allocations: 6.094 kB / 1.032 GB, free: 9.336 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/1.076, allocations: 49.44 kB / 1.032 GB, free: 9.324 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/1.076, allocations: 5.312 kB / 1.032 GB, free: 9.324 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/1.076, allocations: 9.641 kB / 1.032 GB, free: 9.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/1.076, allocations: 8.531 kB / 1.032 GB, free: 9.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.076, allocations: 9.156 kB / 1.032 GB, free: 9.316 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007906/1.077, allocations: 0.79 MB / 1.033 GB, free: 8.535 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003641/1.077, allocations: 244.5 kB / 1.033 GB, free: 8.324 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/1.077, allocations: 12.91 kB / 1.033 GB, free: 8.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004424/1.078, allocations: 33.94 kB / 1.033 GB, free: 8.301 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/1.078, allocations: 29.14 kB / 1.033 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/1.078, allocations: 21.88 kB / 1.033 GB, free: 8.277 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009782/1.079, allocations: 0.7601 MB / 1.034 GB, free: 7.844 MB / 0.7481 GB Notification: Performance of sort global known variables: time 5.41e-07/1.079, allocations: 0 / 1.034 GB, free: 7.844 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001033/1.08, allocations: 279.1 kB / 1.034 GB, free: 7.785 MB / 0.7481 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.0006334/1.081, allocations: 308.5 kB / 1.035 GB, free: 7.605 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006069/1.081, allocations: 322.2 kB / 1.035 GB, free: 7.48 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.081, allocations: 3.312 kB / 1.035 GB, free: 7.48 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/1.081, allocations: 135.9 kB / 1.035 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/1.083, allocations: 474.3 kB / 1.036 GB, free: 7.203 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/1.086, allocations: 1.818 MB / 1.037 GB, free: 5.898 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006413/1.086, allocations: 1.083 MB / 1.038 GB, free: 5.008 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000752/1.087, allocations: 196.5 kB / 1.039 GB, free: 4.918 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/1.087, allocations: 66.97 kB / 1.039 GB, free: 4.906 MB / 0.7481 GB Notification: Performance of SimCode: time 6.61e-07/1.087, allocations: 0 / 1.039 GB, free: 4.906 MB / 0.7481 GB Notification: Performance of Templates: time 0.02869/1.116, allocations: 16.67 MB / 1.055 GB, free: 4.684 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) Environment - environmentSimulation: