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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.765/1.765, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 178 kB / 327.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.868/1.868, allocations: 205.4 MB / 0.5786 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008238/0.000824, allocations: 92.45 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003307, allocations: 8.562 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2373, allocations: 106.3 MB / 0.9015 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.7265/0.9638, allocations: 243.6 MB / 1.139 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02545/0.9894, allocations: 22.04 MB / 1.161 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00313/0.9926, allocations: 53.22 kB / 1.161 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003411/0.996, allocations: 0.7825 MB / 1.162 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.005397/1.001, allocations: 1.386 MB / 1.163 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.005661/1.007, allocations: 1.773 MB / 1.165 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005323/1.012, allocations: 3.524 MB / 1.168 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002083/1.015, allocations: 1.086 MB / 1.169 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003895/1.018, allocations: 1.151 MB / 1.17 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002266/1.021, allocations: 0.8575 MB / 1.171 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001527/1.021, allocations: 35.19 kB / 1.171 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005326/1.026, allocations: 1.869 MB / 1.173 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0006937/1.027, allocations: 281.4 kB / 1.173 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001262/1.028, allocations: 0.5639 MB / 1.174 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003098/1.031, allocations: 1.692 MB / 1.176 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.031, allocations: 4 kB / 1.176 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.886e-06/1.031, allocations: 0 / 1.176 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.656e-05/1.032, allocations: 0 / 1.176 GB, free: 10.86 MB / 0.7136 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.002255/1.034, allocations: 1.221 MB / 1.177 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/1.034, allocations: 13.61 kB / 1.177 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/1.035, allocations: 243.6 kB / 1.177 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/1.036, allocations: 0.8476 MB / 1.178 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001814/1.037, allocations: 185.2 kB / 1.178 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/1.037, allocations: 94.84 kB / 1.178 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/1.038, allocations: 0.9281 MB / 1.179 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/1.038, allocations: 3.281 kB / 1.179 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.345e-05/1.038, allocations: 36.25 kB / 1.179 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.118e-05/1.038, allocations: 21.38 kB / 1.179 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/1.04, allocations: 0.6287 MB / 1.18 GB, free: 8.031 MB / 0.7136 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.004587/1.044, allocations: 4.452 MB / 1.184 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003959/1.045, allocations: 192.2 kB / 1.184 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/1.045, allocations: 142.7 kB / 1.184 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009972/1.046, allocations: 1.024 MB / 1.185 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/1.046, allocations: 33.91 kB / 1.185 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=24): time 1.894e-06/1.046, allocations: 0 / 1.185 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24): time 0.001146/1.047, allocations: 472.4 kB / 1.186 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/1.047, allocations: 51.41 kB / 1.186 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/1.049, allocations: 1.109 MB / 1.187 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/1.049, allocations: 32.17 kB / 1.187 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004174/1.049, allocations: 0.5167 MB / 1.188 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.351e-05/1.049, allocations: 84.19 kB / 1.188 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.155e-05/1.049, allocations: 4 kB / 1.188 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.049, allocations: 329.2 kB / 1.188 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/1.05, allocations: 131.6 kB / 1.188 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004749/1.05, allocations: 382.9 kB / 1.188 GB, free: 408 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005551/1.051, allocations: 467 kB / 1.189 GB, free: 24 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/1.051, allocations: 3.688 kB / 1.189 GB, free: 24 kB / 0.7136 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009206/1.051, allocations: 0.5398 MB / 1.189 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/1.052, allocations: 9.188 kB / 1.189 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/1.052, allocations: 6.719 kB / 1.189 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/1.052, allocations: 10.64 kB / 1.189 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003556/1.052, allocations: 89.59 kB / 1.19 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/1.052, allocations: 16.39 kB / 1.19 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008282/1.053, allocations: 124.3 kB / 1.19 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.431e-05/1.053, allocations: 34.17 kB / 1.19 GB, free: 15.66 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003979/1.053, allocations: 284.1 kB / 1.19 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/1.053, allocations: 96.91 kB / 1.19 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000693/1.054, allocations: 430.8 kB / 1.19 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/1.054, allocations: 1.969 kB / 1.19 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.054, allocations: 1.875 kB / 1.19 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/1.054, allocations: 3.984 kB / 1.19 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/1.056, allocations: 1.553 MB / 1.192 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/1.056, allocations: 6.125 kB / 1.192 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/1.056, allocations: 45.23 kB / 1.192 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/1.057, allocations: 3.438 kB / 1.192 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/1.057, allocations: 13.45 kB / 1.192 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/1.057, allocations: 5.844 kB / 1.192 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.057, allocations: 5.406 kB / 1.192 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005633/1.057, allocations: 0.5719 MB / 1.193 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003242/1.057, allocations: 240.9 kB / 1.193 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/1.058, allocations: 10.36 kB / 1.193 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004678/1.058, allocations: 39.11 kB / 1.193 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.253e-05/1.058, allocations: 30.91 kB / 1.193 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/1.058, allocations: 24.56 kB / 1.193 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001045/1.059, allocations: 0.7809 MB / 1.194 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2e-07/1.059, allocations: 0 / 1.194 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009931/1.06, allocations: 278 kB / 1.194 GB, free: 12.73 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007057/1.061, allocations: 341.5 kB / 1.194 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006127/1.062, allocations: 335.6 kB / 1.195 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.062, allocations: 3.938 kB / 1.195 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001994/1.062, allocations: 142.2 kB / 1.195 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002858/1.065, allocations: 0.5226 MB / 1.195 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002729/1.067, allocations: 1.964 MB / 1.197 GB, free: 9.426 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007121/1.068, allocations: 1.056 MB / 1.198 GB, free: 8.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/1.068, allocations: 83.42 kB / 1.198 GB, free: 8.258 MB / 0.7292 GB Notification: Performance of SimCode: time 8.92e-07/1.068, allocations: 0 / 1.198 GB, free: 8.258 MB / 0.7292 GB Notification: Performance of Templates: time 0.02727/1.096, allocations: 16.93 MB / 1.215 GB, free: 7.449 MB / 0.7448 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (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)