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.00128/0.00128, allocations: 106.8 kB / 16.41 MB, free: 6.434 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.001337/0.001337, allocations: 197.4 kB / 17.34 MB, free: 5.742 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6855/0.6855, allocations: 115.3 MB / 406.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 69.08 kB / 0.5577 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.141, allocations: 76.18 MB / 0.6321 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6021/0.7431, allocations: 248.9 MB / 0.8752 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02425/0.7674, allocations: 22.29 MB / 0.897 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00174/0.7692, allocations: 51.69 kB / 0.897 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002544/0.7718, allocations: 0.9703 MB / 0.898 GB, free: 12 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003748/0.7756, allocations: 1.475 MB / 0.8994 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004395/0.78, allocations: 1.931 MB / 0.9013 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00335/0.7833, allocations: 2.688 MB / 0.9039 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001723/0.7851, allocations: 1.328 MB / 0.9052 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002508/0.7876, allocations: 1.351 MB / 0.9065 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.7887, allocations: 0.9105 MB / 0.9074 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.7889, allocations: 108 kB / 0.9075 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003083/0.7919, allocations: 1.68 MB / 0.9092 GB, free: 488 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003241/0.7923, allocations: 374.9 kB / 0.9095 GB, free: 112 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006091/0.7929, allocations: 0.6378 MB / 0.9101 GB, free: 15.46 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002857/0.7958, allocations: 2.278 MB / 0.9124 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.7958, allocations: 0 / 0.9124 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.654e-06/0.7958, allocations: 0 / 0.9124 GB, free: 13.18 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.581e-05/0.7958, allocations: 0 / 0.9124 GB, free: 13.18 MB / 0.67 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.001838/0.7977, allocations: 1.476 MB / 0.9138 GB, free: 11.66 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.7977, allocations: 8.031 kB / 0.9138 GB, free: 11.65 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.7987, allocations: 222.4 kB / 0.914 GB, free: 11.43 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.8, allocations: 0.9194 MB / 0.9149 GB, free: 10.46 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/0.8002, allocations: 180.8 kB / 0.9151 GB, free: 10.27 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.8003, allocations: 92 kB / 0.9152 GB, free: 10.18 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.8017, allocations: 0.9362 MB / 0.9161 GB, free: 9.203 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.8017, allocations: 0 / 0.9161 GB, free: 9.203 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.748e-05/0.8018, allocations: 36 kB / 0.9161 GB, free: 9.168 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.8018, allocations: 24 kB / 0.9161 GB, free: 9.145 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.8029, allocations: 0.6363 MB / 0.9168 GB, free: 8.512 MB / 0.67 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.004086/0.8069, allocations: 4.431 MB / 0.9211 GB, free: 3.684 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.8073, allocations: 186.7 kB / 0.9213 GB, free: 3.492 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.8075, allocations: 147.6 kB / 0.9214 GB, free: 3.348 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008925/0.8084, allocations: 1.017 MB / 0.9224 GB, free: 2.109 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.8084, allocations: 34.55 kB / 0.9224 GB, free: 2.066 MB / 0.67 GB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/0.8084, allocations: 7.938 kB / 0.9225 GB, free: 2.059 MB / 0.67 GB Notification: Performance of matching and sorting (n=24): time 0.0009665/0.8094, allocations: 470.1 kB / 0.9229 GB, free: 1.594 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.8095, allocations: 51.41 kB / 0.9229 GB, free: 1.531 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.8107, allocations: 1.114 MB / 0.924 GB, free: 412 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.8108, allocations: 33.7 kB / 0.9241 GB, free: 372 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003829/0.8111, allocations: 0.5081 MB / 0.9246 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.125e-05/0.8112, allocations: 86.75 kB / 0.9246 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.8114, allocations: 98.03 kB / 0.9247 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.8115, allocations: 322 kB / 0.925 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.8117, allocations: 128.8 kB / 0.9252 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004005/0.8121, allocations: 391.1 kB / 0.9255 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005194/0.8127, allocations: 467.6 kB / 0.926 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.8127, allocations: 0 / 0.926 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008195/0.8135, allocations: 0.5391 MB / 0.9265 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.8135, allocations: 8 kB / 0.9265 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.8135, allocations: 11.94 kB / 0.9265 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.8136, allocations: 8 kB / 0.9265 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.8139, allocations: 91.83 kB / 0.9266 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.8139, allocations: 11.94 kB / 0.9266 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006186/0.8145, allocations: 99.28 kB / 0.9267 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.757e-05/0.8146, allocations: 27.98 kB / 0.9268 GB, free: 13.38 MB / 0.6856 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.0003292/0.815, allocations: 285.6 kB / 0.927 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.8151, allocations: 98.78 kB / 0.9271 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006916/0.8158, allocations: 432.7 kB / 0.9275 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.8158, allocations: 8 kB / 0.9275 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8158, allocations: 0 / 0.9275 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.8158, allocations: 3.984 kB / 0.9276 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.8178, allocations: 1.556 MB / 0.9291 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.8179, allocations: 4 kB / 0.9291 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.818, allocations: 43.92 kB / 0.9291 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.8181, allocations: 11.94 kB / 0.9291 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.8181, allocations: 4 kB / 0.9291 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.8181, allocations: 11.98 kB / 0.9291 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.8181, allocations: 7.938 kB / 0.9292 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000605/0.8187, allocations: 0.566 MB / 0.9297 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/0.819, allocations: 247.7 kB / 0.9299 GB, free: 9.898 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.8191, allocations: 15.94 kB / 0.93 GB, free: 9.883 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003913/0.8195, allocations: 11.98 kB / 0.93 GB, free: 9.871 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.172e-05/0.8196, allocations: 27.86 kB / 0.93 GB, free: 9.844 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.8196, allocations: 19.98 kB / 0.93 GB, free: 9.824 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009296/0.8205, allocations: 0.7783 MB / 0.9308 GB, free: 9.039 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8205, allocations: 0 / 0.9308 GB, free: 9.039 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007859/0.8213, allocations: 283.5 kB / 0.931 GB, free: 8.762 MB / 0.6856 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.0005888/0.8219, allocations: 332.3 kB / 0.9314 GB, free: 8.434 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005763/0.8225, allocations: 333.5 kB / 0.9317 GB, free: 8.109 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/0.8225, allocations: 5.375 kB / 0.9317 GB, free: 8.105 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.8227, allocations: 144.5 kB / 0.9318 GB, free: 7.965 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/0.8249, allocations: 0.5142 MB / 0.9323 GB, free: 7.465 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.8269, allocations: 1.566 MB / 0.9339 GB, free: 5.809 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005808/0.8274, allocations: 1.063 MB / 0.9349 GB, free: 4.719 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005591/0.828, allocations: 203.6 kB / 0.9351 GB, free: 4.523 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.8282, allocations: 67.42 kB / 0.9351 GB, free: 4.457 MB / 0.6856 GB Notification: Performance of SimCode: time 2.51e-07/0.8282, allocations: 0 / 0.9351 GB, free: 4.457 MB / 0.6856 GB Notification: Performance of Templates: time 0.02842/0.8566, allocations: 18.56 MB / 0.9533 GB, free: 2.105 MB / 0.7012 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)