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.001277/0.001277, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 178.3 kB / 16.57 MB, free: 6.859 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.466/1.466, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7031/0.7031, allocations: 113.8 MB / 405.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003699, allocations: 9.062 kB / 493.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1706, allocations: 77.16 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.5792/0.7499, allocations: 205.6 MB / 0.7576 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02443/0.7743, allocations: 18.85 MB / 0.7761 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002553/0.777, allocations: 43.69 kB / 0.7761 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003001/0.78, allocations: 0.5909 MB / 0.7767 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005786/0.7858, allocations: 1.507 MB / 0.7781 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004172/0.79, allocations: 1.474 MB / 0.7796 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003333/0.7934, allocations: 1.772 MB / 0.7813 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.7946, allocations: 0.9203 MB / 0.7822 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.7964, allocations: 0.9265 MB / 0.7831 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007754/0.7972, allocations: 0.5796 MB / 0.7837 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.963e-05/0.7973, allocations: 36 kB / 0.7837 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001867/0.7991, allocations: 0.8073 MB / 0.7845 GB, free: 168 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002545/0.7994, allocations: 263.2 kB / 0.7848 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002494/0.7997, allocations: 261.1 kB / 0.785 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.8011, allocations: 1.488 MB / 0.7865 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.8012, allocations: 0 / 0.7865 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8012, allocations: 4 kB / 0.7865 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.8012, allocations: 0 / 0.7865 GB, free: 14.15 MB / 0.6075 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.001479/0.8027, allocations: 1.231 MB / 0.7877 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.8027, allocations: 8.031 kB / 0.7877 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009713/0.8037, allocations: 234.2 kB / 0.7879 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.8048, allocations: 0.8225 MB / 0.7887 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.805, allocations: 184.8 kB / 0.7889 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.8051, allocations: 92 kB / 0.789 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.8064, allocations: 0.9245 MB / 0.7899 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.8064, allocations: 0 / 0.7899 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-05/0.8065, allocations: 36 kB / 0.7899 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.8065, allocations: 24 kB / 0.7899 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009632/0.8075, allocations: 0.6245 MB / 0.7905 GB, free: 9.832 MB / 0.6075 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.003973/0.8115, allocations: 4.424 MB / 0.7949 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.8118, allocations: 186.7 kB / 0.795 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005658/0.8124, allocations: 0.6653 MB / 0.7957 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.8124, allocations: 34.56 kB / 0.7957 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.503e-06/0.8124, allocations: 0 / 0.7957 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.000909/0.8133, allocations: 458.1 kB / 0.7961 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.8134, allocations: 55.41 kB / 0.7962 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.8146, allocations: 1.098 MB / 0.7973 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.8147, allocations: 37.64 kB / 0.7973 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003654/0.815, allocations: 0.5079 MB / 0.7978 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.606e-05/0.8151, allocations: 86.75 kB / 0.7979 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/0.8151, allocations: 8 kB / 0.7979 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.8152, allocations: 329.9 kB / 0.7982 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.8154, allocations: 124.8 kB / 0.7983 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003992/0.8158, allocations: 399.5 kB / 0.7987 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.8161, allocations: 183.8 kB / 0.7989 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.8161, allocations: 7.938 kB / 0.7989 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000829/0.817, allocations: 0.5357 MB / 0.7994 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.817, allocations: 8 kB / 0.7994 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.817, allocations: 12.09 kB / 0.7994 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.8171, allocations: 8 kB / 0.7994 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.8174, allocations: 95.78 kB / 0.7995 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-05/0.8174, allocations: 15.92 kB / 0.7996 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007475/0.8182, allocations: 123 kB / 0.7997 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.166e-05/0.8183, allocations: 27.98 kB / 0.7997 GB, free: 15.71 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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.0003886/0.8187, allocations: 293.6 kB / 0.8 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.8188, allocations: 106.7 kB / 0.8001 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006475/0.8195, allocations: 420.6 kB / 0.8005 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.8195, allocations: 0 / 0.8005 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.8195, allocations: 0 / 0.8005 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.8195, allocations: 4 kB / 0.8005 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.8214, allocations: 1.52 MB / 0.802 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.8214, allocations: 8.094 kB / 0.802 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.8216, allocations: 39.92 kB / 0.802 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.405e-05/0.8216, allocations: 8 kB / 0.802 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.8216, allocations: 8 kB / 0.802 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/0.8217, allocations: 11.94 kB / 0.802 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.8217, allocations: 4 kB / 0.802 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007092/0.8224, allocations: 0.7906 MB / 0.8028 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003336/0.8227, allocations: 239.6 kB / 0.803 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.8228, allocations: 12 kB / 0.8031 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/0.8233, allocations: 39.81 kB / 0.8031 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.8234, allocations: 27.88 kB / 0.8031 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.8234, allocations: 12 kB / 0.8031 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009558/0.8243, allocations: 0.7703 MB / 0.8039 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8244, allocations: 0 / 0.8039 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008906/0.8252, allocations: 275.5 kB / 0.8041 GB, free: 10.83 MB / 0.6231 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.0005574/0.8258, allocations: 304.1 kB / 0.8044 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005501/0.8264, allocations: 337 kB / 0.8048 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.8264, allocations: 0 / 0.8048 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.8266, allocations: 140.5 kB / 0.8049 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/0.8285, allocations: 486 kB / 0.8054 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.8309, allocations: 1.809 MB / 0.8071 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006547/0.8316, allocations: 1.083 MB / 0.8082 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007207/0.8323, allocations: 201.7 kB / 0.8084 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.8325, allocations: 67.42 kB / 0.8084 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.8325, allocations: 0 / 0.8084 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of Templates: time 0.02727/0.8598, allocations: 16.67 MB / 0.8247 GB, free: 5.918 MB / 0.6387 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)