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.00104/0.00104, allocations: 102.3 kB / 16.4 MB, free: 6.469 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.001086/0.001086, allocations: 196 kB / 17.34 MB, free: 5.715 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.773/0.773, allocations: 122.9 MB / 414.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 58.72 kB / 0.5685 GB, free: 28.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1593, allocations: 77.94 MB / 0.6446 GB, free: 8.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6858/0.8452, allocations: 248.9 MB / 0.8877 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03216/0.8774, allocations: 22.29 MB / 0.9095 GB, free: 12.21 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003092/0.8806, allocations: 51.69 kB / 0.9095 GB, free: 12.16 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00368/0.8844, allocations: 0.9742 MB / 0.9105 GB, free: 11.18 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005286/0.8897, allocations: 1.469 MB / 0.9119 GB, free: 9.699 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005757/0.8955, allocations: 1.926 MB / 0.9138 GB, free: 7.777 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004554/0.9, allocations: 2.701 MB / 0.9164 GB, free: 5.07 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00237/0.9024, allocations: 1.32 MB / 0.9177 GB, free: 3.719 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003301/0.9058, allocations: 1.335 MB / 0.919 GB, free: 2.379 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001781/0.9076, allocations: 0.9183 MB / 0.9199 GB, free: 1.457 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003786/0.908, allocations: 108 kB / 0.92 GB, free: 1.352 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003938/0.9119, allocations: 1.68 MB / 0.9217 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006215/0.9125, allocations: 374.9 kB / 0.922 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00135/0.9139, allocations: 0.6376 MB / 0.9227 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004899/0.9188, allocations: 2.289 MB / 0.9249 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.9188, allocations: 0 / 0.9249 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9189, allocations: 0 / 0.9249 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.651e-05/0.9189, allocations: 0 / 0.9249 GB, free: 12.36 MB / 0.6856 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.00321/0.9222, allocations: 1.505 MB / 0.9264 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.9222, allocations: 12.62 kB / 0.9264 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.9235, allocations: 239 kB / 0.9266 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/0.9252, allocations: 0.9202 MB / 0.9275 GB, free: 9.594 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001951/0.9255, allocations: 184.8 kB / 0.9277 GB, free: 9.387 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.9256, allocations: 96 kB / 0.9278 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.9274, allocations: 0.9284 MB / 0.9287 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.9275, allocations: 3.938 kB / 0.9287 GB, free: 8.328 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.692e-05/0.9276, allocations: 44 kB / 0.9287 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.9276, allocations: 24 kB / 0.9287 GB, free: 8.262 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.9288, allocations: 0.6246 MB / 0.9293 GB, free: 7.637 MB / 0.6856 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.005175/0.934, allocations: 4.444 MB / 0.9337 GB, free: 2.801 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.9344, allocations: 186.7 kB / 0.9339 GB, free: 2.609 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.9347, allocations: 139.9 kB / 0.934 GB, free: 2.473 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001/0.9357, allocations: 1.028 MB / 0.935 GB, free: 1.223 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.9357, allocations: 30.56 kB / 0.935 GB, free: 1.184 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=24): time 1.924e-06/0.9357, allocations: 0 / 0.935 GB, free: 1.184 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24): time 0.001186/0.9369, allocations: 480.1 kB / 0.9355 GB, free: 0.7109 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.937, allocations: 55.41 kB / 0.9355 GB, free: 0.6445 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/0.9386, allocations: 1.114 MB / 0.9366 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/0.9386, allocations: 33.7 kB / 0.9367 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004571/0.9391, allocations: 0.5204 MB / 0.9372 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.682e-05/0.9392, allocations: 83.27 kB / 0.9373 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.9394, allocations: 102 kB / 0.9373 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.9395, allocations: 322 kB / 0.9377 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.9397, allocations: 128.8 kB / 0.9378 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004666/0.9402, allocations: 387 kB / 0.9381 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006292/0.9409, allocations: 475.5 kB / 0.9386 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-06/0.9409, allocations: 4 kB / 0.9386 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001072/0.9419, allocations: 0.5432 MB / 0.9391 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.942, allocations: 8.688 kB / 0.9391 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.942, allocations: 7.938 kB / 0.9392 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.733e-05/0.942, allocations: 16 kB / 0.9392 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.9424, allocations: 83.84 kB / 0.9392 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/0.9424, allocations: 11.98 kB / 0.9393 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007358/0.9432, allocations: 95.27 kB / 0.9393 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.078e-05/0.9433, allocations: 29.56 kB / 0.9394 GB, free: 12.48 MB / 0.7012 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.0004389/0.9437, allocations: 285.6 kB / 0.9396 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.9439, allocations: 111.2 kB / 0.9398 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008348/0.9448, allocations: 438.7 kB / 0.9402 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.9448, allocations: 4 kB / 0.9402 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.9448, allocations: 0 / 0.9402 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.9448, allocations: 288 / 0.9402 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/0.9472, allocations: 1.546 MB / 0.9417 GB, free: 9.984 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.9473, allocations: 4 kB / 0.9417 GB, free: 9.98 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.9475, allocations: 43.91 kB / 0.9417 GB, free: 9.938 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/0.9475, allocations: 11.92 kB / 0.9417 GB, free: 9.926 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.9475, allocations: 12.56 kB / 0.9418 GB, free: 9.914 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.826e-06/0.9475, allocations: 15.94 kB / 0.9418 GB, free: 9.898 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.9475, allocations: 4 kB / 0.9418 GB, free: 9.895 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006643/0.9482, allocations: 0.5744 MB / 0.9423 GB, free: 9.25 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003864/0.9486, allocations: 252.2 kB / 0.9426 GB, free: 8.984 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.9488, allocations: 4 kB / 0.9426 GB, free: 8.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004865/0.9493, allocations: 19.98 kB / 0.9426 GB, free: 8.961 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.9493, allocations: 31.84 kB / 0.9426 GB, free: 8.93 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.9494, allocations: 16 kB / 0.9426 GB, free: 8.914 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001046/0.9504, allocations: 0.7822 MB / 0.9434 GB, free: 8.125 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9504, allocations: 0 / 0.9434 GB, free: 8.125 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009365/0.9514, allocations: 283.4 kB / 0.9437 GB, free: 7.848 MB / 0.7012 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.0006836/0.9521, allocations: 332.1 kB / 0.944 GB, free: 7.52 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.000673/0.9528, allocations: 336.9 kB / 0.9443 GB, free: 7.191 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.9528, allocations: 0 / 0.9443 GB, free: 7.191 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.953, allocations: 143.7 kB / 0.9445 GB, free: 7.051 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/0.9553, allocations: 0.5163 MB / 0.945 GB, free: 6.543 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.9579, allocations: 1.596 MB / 0.9465 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007851/0.9587, allocations: 1.063 MB / 0.9476 GB, free: 3.766 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008046/0.9595, allocations: 197.1 kB / 0.9477 GB, free: 3.578 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.9597, allocations: 67.44 kB / 0.9478 GB, free: 3.512 MB / 0.7012 GB Notification: Performance of SimCode: time 4.81e-07/0.9597, allocations: 4 kB / 0.9478 GB, free: 3.508 MB / 0.7012 GB Notification: Performance of Templates: time 0.0343/0.994, allocations: 18.56 MB / 0.9659 GB, free: 1.148 MB / 0.7169 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)