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.0008865/0.0008864, allocations: 91.84 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.001211/0.001211, 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.433/1.433, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.619/1.619, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005471/0.0005472, allocations: 23.16 kB / 0.6737 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2595, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.7837/1.043, allocations: 227.4 MB / 1.009 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02268/1.066, allocations: 20.66 MB / 1.03 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002226/1.068, allocations: 46.25 kB / 1.03 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002393/1.071, allocations: 0.6405 MB / 1.03 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003747/1.074, allocations: 1.162 MB / 1.031 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004269/1.079, allocations: 1.336 MB / 1.033 GB, free: 9.102 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004141/1.083, allocations: 2.999 MB / 1.036 GB, free: 7.328 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001823/1.085, allocations: 0.9056 MB / 1.036 GB, free: 6.793 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003839/1.089, allocations: 1.048 MB / 1.037 GB, free: 6.219 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/1.09, allocations: 0.8082 MB / 1.038 GB, free: 5.785 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.582e-05/1.09, allocations: 34.06 kB / 1.038 GB, free: 5.785 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003055/1.093, allocations: 0.9147 MB / 1.039 GB, free: 5.332 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003629/1.094, allocations: 272.2 kB / 1.039 GB, free: 5.16 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005159/1.094, allocations: 261.7 kB / 1.04 GB, free: 5.008 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002178/1.096, allocations: 1.58 MB / 1.041 GB, free: 3.926 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.096, allocations: 0 / 1.041 GB, free: 3.926 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.523e-06/1.096, allocations: 0 / 1.041 GB, free: 3.926 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.712e-05/1.097, allocations: 0 / 1.041 GB, free: 3.926 MB / 0.7481 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.00186/1.098, allocations: 1.24 MB / 1.042 GB, free: 2.941 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/1.098, allocations: 8.25 kB / 1.042 GB, free: 2.941 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/1.099, allocations: 235 kB / 1.043 GB, free: 2.832 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/1.101, allocations: 0.8209 MB / 1.043 GB, free: 2.164 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001582/1.101, allocations: 183.5 kB / 1.044 GB, free: 2.008 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/1.101, allocations: 93.12 kB / 1.044 GB, free: 1.977 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/1.102, allocations: 0.9286 MB / 1.045 GB, free: 1.387 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/1.102, allocations: 0 / 1.045 GB, free: 1.387 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.949e-05/1.102, allocations: 37.38 kB / 1.045 GB, free: 1.359 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/1.102, allocations: 27.44 kB / 1.045 GB, free: 1.352 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/1.103, allocations: 0.6214 MB / 1.045 GB, free: 1.047 MB / 0.7481 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.004349/1.108, allocations: 4.446 MB / 1.05 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/1.108, allocations: 184.6 kB / 1.05 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/1.108, allocations: 138.8 kB / 1.05 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009919/1.109, allocations: 1.03 MB / 1.051 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/1.109, allocations: 30.56 kB / 1.051 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=24): time 1.873e-06/1.109, allocations: 0 / 1.051 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of matching and sorting (n=24): time 0.001102/1.111, allocations: 477.3 kB / 1.051 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/1.111, allocations: 54.31 kB / 1.052 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/1.112, allocations: 1.095 MB / 1.053 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/1.112, allocations: 33.7 kB / 1.053 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004484/1.113, allocations: 0.5079 MB / 1.053 GB, free: 9.785 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 7.406e-05/1.113, allocations: 90.73 kB / 1.053 GB, free: 9.695 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/1.113, allocations: 12 kB / 1.053 GB, free: 9.684 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.113, allocations: 322 kB / 1.054 GB, free: 9.363 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/1.113, allocations: 124.8 kB / 1.054 GB, free: 9.242 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004233/1.114, allocations: 383.1 kB / 1.054 GB, free: 8.758 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/1.114, allocations: 183.8 kB / 1.054 GB, free: 8.578 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/1.114, allocations: 4 kB / 1.054 GB, free: 8.574 MB / 0.7637 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000849/1.115, allocations: 0.5315 MB / 1.055 GB, free: 8.035 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/1.115, allocations: 10.66 kB / 1.055 GB, free: 8.027 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/1.115, allocations: 4 kB / 1.055 GB, free: 8.023 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/1.115, allocations: 15.94 kB / 1.055 GB, free: 8.008 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/1.115, allocations: 95.78 kB / 1.055 GB, free: 7.914 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/1.115, allocations: 11.94 kB / 1.055 GB, free: 7.902 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007788/1.116, allocations: 131 kB / 1.055 GB, free: 7.773 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-05/1.116, allocations: 28.28 kB / 1.055 GB, free: 7.746 MB / 0.7637 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.0004076/1.116, allocations: 286.2 kB / 1.055 GB, free: 7.457 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/1.117, allocations: 98.78 kB / 1.055 GB, free: 7.359 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007327/1.117, allocations: 435.5 kB / 1.056 GB, free: 6.934 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/1.117, allocations: 4 kB / 1.056 GB, free: 6.93 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.117, allocations: 7.953 kB / 1.056 GB, free: 6.922 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/1.117, allocations: 3.984 kB / 1.056 GB, free: 6.918 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/1.119, allocations: 1.543 MB / 1.057 GB, free: 5.266 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/1.119, allocations: 4 kB / 1.057 GB, free: 5.262 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/1.12, allocations: 39.92 kB / 1.057 GB, free: 5.223 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/1.12, allocations: 8 kB / 1.057 GB, free: 5.215 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/1.12, allocations: 15.94 kB / 1.057 GB, free: 5.199 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/1.12, allocations: 7.984 kB / 1.057 GB, free: 5.191 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.12, allocations: 7.938 kB / 1.057 GB, free: 5.184 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005684/1.12, allocations: 0.5653 MB / 1.058 GB, free: 4.547 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002811/1.121, allocations: 243.6 kB / 1.058 GB, free: 4.289 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/1.121, allocations: 12 kB / 1.058 GB, free: 4.277 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003933/1.121, allocations: 35.81 kB / 1.058 GB, free: 4.242 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/1.121, allocations: 35.86 kB / 1.058 GB, free: 4.207 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/1.121, allocations: 8 kB / 1.058 GB, free: 4.199 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0009649/1.122, allocations: 0.7664 MB / 1.059 GB, free: 3.426 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.61e-07/1.122, allocations: 0 / 1.059 GB, free: 3.426 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009455/1.123, allocations: 275.5 kB / 1.059 GB, free: 3.156 MB / 0.7637 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.0005967/1.124, allocations: 327.6 kB / 1.06 GB, free: 2.836 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0005792/1.124, allocations: 328.8 kB / 1.06 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.124, allocations: 4 kB / 1.06 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/1.124, allocations: 144.1 kB / 1.06 GB, free: 2.371 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/1.127, allocations: 484 kB / 1.06 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/1.129, allocations: 1.809 MB / 1.062 GB, free: 8 kB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006415/1.13, allocations: 1.059 MB / 1.063 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0007455/1.13, allocations: 194.7 kB / 1.063 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/1.13, allocations: 71.42 kB / 1.064 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of SimCode: time 6.21e-07/1.13, allocations: 0 / 1.064 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.02956/1.16, allocations: 16.86 MB / 1.08 GB, free: 14.04 MB / 0.795 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: