Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001701/0.001701, allocations: 106.2 kB / 15.98 MB, free: 6.359 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.001762/0.001762, allocations: 191.4 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7806/0.7806, allocations: 122.9 MB / 413.6 MB, free: 16 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 59.89 kB / 0.4906 GB, free: 7.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4023, allocations: 77.91 MB / 0.5667 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6081/1.01, allocations: 246 MB / 0.8069 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02169/1.032, allocations: 22.08 MB / 0.8284 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002227/1.034, allocations: 49.81 kB / 0.8285 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00243/1.037, allocations: 0.8441 MB / 0.8293 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004094/1.041, allocations: 1.377 MB / 0.8307 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004855/1.046, allocations: 1.791 MB / 0.8324 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004557/1.051, allocations: 2.702 MB / 0.8351 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002352/1.053, allocations: 1.303 MB / 0.8363 GB, free: 468 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003111/1.056, allocations: 1.337 MB / 0.8376 GB, free: 224 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/1.057, allocations: 0.9691 MB / 0.8386 GB, free: 0 / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001319/1.058, allocations: 107.2 kB / 0.8387 GB, free: 0 / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003137/1.061, allocations: 1.735 MB / 0.8404 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004086/1.061, allocations: 377.7 kB / 0.8407 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007931/1.062, allocations: 0.6393 MB / 0.8414 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00362/1.066, allocations: 2.345 MB / 0.8436 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.066, allocations: 0 / 0.8436 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.483e-06/1.066, allocations: 0 / 0.8436 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.634e-05/1.066, allocations: 0 / 0.8436 GB, free: 14.02 MB / 0.5919 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.002009/1.068, allocations: 1.468 MB / 0.8451 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/1.068, allocations: 9.094 kB / 0.8451 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/1.069, allocations: 235.1 kB / 0.8453 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/1.07, allocations: 0.8575 MB / 0.8462 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/1.07, allocations: 182.9 kB / 0.8463 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/1.07, allocations: 94.34 kB / 0.8464 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/1.072, allocations: 0.9283 MB / 0.8473 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/1.072, allocations: 0 / 0.8473 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-05/1.072, allocations: 39.56 kB / 0.8474 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/1.072, allocations: 23.22 kB / 0.8474 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/1.073, allocations: 0.6312 MB / 0.848 GB, free: 11.02 MB / 0.5919 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.004685/1.078, allocations: 4.441 MB / 0.8523 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/1.078, allocations: 193.4 kB / 0.8525 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/1.078, allocations: 145.8 kB / 0.8527 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/1.08, allocations: 1.018 MB / 0.8537 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/1.08, allocations: 36.64 kB / 0.8537 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.563e-06/1.08, allocations: 0 / 0.8537 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001023/1.081, allocations: 469.8 kB / 0.8541 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/1.081, allocations: 54.22 kB / 0.8542 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/1.082, allocations: 1.113 MB / 0.8553 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/1.082, allocations: 32.42 kB / 0.8553 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004589/1.083, allocations: 0.5079 MB / 0.8558 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.073e-05/1.083, allocations: 89 kB / 0.8559 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/1.083, allocations: 98.69 kB / 0.856 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001408/1.083, allocations: 320.5 kB / 0.8563 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/1.083, allocations: 130.5 kB / 0.8564 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004579/1.084, allocations: 388.9 kB / 0.8568 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005784/1.084, allocations: 465 kB / 0.8572 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.084, allocations: 0 / 0.8572 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008752/1.085, allocations: 0.5467 MB / 0.8578 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/1.085, allocations: 4.688 kB / 0.8578 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/1.085, allocations: 15.94 kB / 0.8578 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/1.085, allocations: 12 kB / 0.8578 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003692/1.086, allocations: 89.77 kB / 0.8579 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/1.086, allocations: 10.91 kB / 0.8579 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008333/1.086, allocations: 126.9 kB / 0.858 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.775e-05/1.087, allocations: 27.98 kB / 0.858 GB, free: 2.168 MB / 0.5919 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.0003699/1.087, allocations: 294.5 kB / 0.8583 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/1.087, allocations: 106.6 kB / 0.8584 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007272/1.088, allocations: 415.2 kB / 0.8588 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/1.088, allocations: 4 kB / 0.8588 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/1.088, allocations: 0 / 0.8588 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/1.088, allocations: 7.984 kB / 0.8588 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/1.09, allocations: 1.549 MB / 0.8603 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/1.09, allocations: 8.062 kB / 0.8603 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/1.09, allocations: 45.89 kB / 0.8604 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/1.09, allocations: 4 kB / 0.8604 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/1.09, allocations: 12 kB / 0.8604 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/1.09, allocations: 7.984 kB / 0.8604 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/1.09, allocations: 8.156 kB / 0.8604 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006695/1.091, allocations: 0.5797 MB / 0.861 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002959/1.091, allocations: 231.7 kB / 0.8612 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/1.091, allocations: 15.94 kB / 0.8612 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004673/1.092, allocations: 35.88 kB / 0.8613 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/1.092, allocations: 30.92 kB / 0.8613 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/1.092, allocations: 12 kB / 0.8613 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009471/1.093, allocations: 0.7783 MB / 0.8621 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/1.093, allocations: 0 / 0.8621 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009113/1.094, allocations: 287.5 kB / 0.8623 GB, free: 13.61 MB / 0.6075 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.0007182/1.095, allocations: 340.1 kB / 0.8627 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006219/1.095, allocations: 344.3 kB / 0.863 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.095, allocations: 3.281 kB / 0.863 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001944/1.095, allocations: 143.4 kB / 0.8631 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/1.098, allocations: 0.5196 MB / 0.8636 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/1.1, allocations: 1.902 MB / 0.8655 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007519/1.101, allocations: 1.071 MB / 0.8665 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007778/1.102, allocations: 195.4 kB / 0.8667 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/1.102, allocations: 63.44 kB / 0.8668 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/1.102, allocations: 0 / 0.8668 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of Templates: time 0.03111/1.133, allocations: 18.37 MB / 0.8847 GB, free: 7 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)