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: "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001065/0.001065, allocations: 192 kB / 17.2 MB, free: 5.598 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.253/1.253, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7216/0.7216, allocations: 122.9 MB / 413.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.89 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2952, allocations: 77.92 MB / 0.5673 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.4813/0.7765, allocations: 248.9 MB / 0.8104 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01864/0.7952, allocations: 22.28 MB / 0.8321 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.7969, allocations: 55.88 kB / 0.8322 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002237/0.7992, allocations: 0.9692 MB / 0.8331 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003843/0.8031, allocations: 1.467 MB / 0.8346 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00471/0.8078, allocations: 1.925 MB / 0.8365 GB, free: 488 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003404/0.8112, allocations: 2.687 MB / 0.8391 GB, free: 384 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001819/0.8131, allocations: 1.321 MB / 0.8404 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002704/0.8158, allocations: 1.34 MB / 0.8417 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.8168, allocations: 0.9117 MB / 0.8426 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.817, allocations: 108.2 kB / 0.8427 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003524/0.8205, allocations: 1.671 MB / 0.8443 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003877/0.8209, allocations: 378.3 kB / 0.8447 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006975/0.8216, allocations: 0.6401 MB / 0.8453 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002995/0.8246, allocations: 2.224 MB / 0.8475 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.8246, allocations: 1.156 kB / 0.8475 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8246, allocations: 0 / 0.8475 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.735e-05/0.8247, allocations: 0 / 0.8475 GB, free: 12.38 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.001848/0.8265, allocations: 1.481 MB / 0.8489 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.8266, allocations: 9.156 kB / 0.8489 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001363/0.8267, allocations: 139.6 kB / 0.8491 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.8277, allocations: 228 kB / 0.8493 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.8288, allocations: 0.8513 MB / 0.8501 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.829, allocations: 191.4 kB / 0.8503 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-05/0.8291, allocations: 89.06 kB / 0.8504 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.8304, allocations: 0.9324 MB / 0.8513 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.8304, allocations: 4 kB / 0.8513 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.767e-05/0.8305, allocations: 35.88 kB / 0.8513 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.8305, allocations: 21.97 kB / 0.8513 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009835/0.8315, allocations: 0.6325 MB / 0.852 GB, free: 9.262 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.004046/0.8355, allocations: 4.465 MB / 0.8563 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003441/0.8359, allocations: 185.4 kB / 0.8565 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.8361, allocations: 142.9 kB / 0.8566 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008691/0.837, allocations: 1.017 MB / 0.8576 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.837, allocations: 44.8 kB / 0.8577 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 3.457e-06/0.837, allocations: 0 / 0.8577 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.0009422/0.838, allocations: 472.8 kB / 0.8581 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.838, allocations: 54.28 kB / 0.8582 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.8393, allocations: 1.111 MB / 0.8593 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.8393, allocations: 33.7 kB / 0.8593 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003658/0.8397, allocations: 0.5022 MB / 0.8598 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.154e-05/0.8398, allocations: 90.66 kB / 0.8599 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.8399, allocations: 98.03 kB / 0.86 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.84, allocations: 329.9 kB / 0.8603 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.8402, allocations: 135.3 kB / 0.8604 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003963/0.8406, allocations: 389.6 kB / 0.8608 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000526/0.8412, allocations: 462.8 kB / 0.8612 GB, free: 356 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.8412, allocations: 0 / 0.8612 GB, free: 356 kB / 0.5919 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008457/0.842, allocations: 0.539 MB / 0.8617 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.8421, allocations: 10.5 kB / 0.8618 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.8421, allocations: 8 kB / 0.8618 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.8421, allocations: 8 kB / 0.8618 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/0.8425, allocations: 90.23 kB / 0.8619 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.8425, allocations: 11.09 kB / 0.8619 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006655/0.8432, allocations: 103.4 kB / 0.862 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.262e-05/0.8432, allocations: 31.92 kB / 0.862 GB, free: 15.59 MB / 0.6075 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.0003342/0.8436, allocations: 280 kB / 0.8623 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.8437, allocations: 102.7 kB / 0.8624 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006675/0.8444, allocations: 425.1 kB / 0.8628 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.8444, allocations: 4 kB / 0.8628 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.8444, allocations: 0 / 0.8628 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.8444, allocations: 3.984 kB / 0.8628 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.8464, allocations: 1.554 MB / 0.8643 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.8464, allocations: 4 kB / 0.8643 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.8466, allocations: 42.27 kB / 0.8643 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.8466, allocations: 4 kB / 0.8643 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.8466, allocations: 12 kB / 0.8643 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.8466, allocations: 7.984 kB / 0.8644 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.8466, allocations: 8.438 kB / 0.8644 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005788/0.8472, allocations: 0.5884 MB / 0.8649 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002733/0.8475, allocations: 231.7 kB / 0.8652 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.8476, allocations: 15.94 kB / 0.8652 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004145/0.848, allocations: 19.97 kB / 0.8652 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.8481, allocations: 31.02 kB / 0.8652 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.8481, allocations: 19.92 kB / 0.8652 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000912/0.8491, allocations: 0.7744 MB / 0.866 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8491, allocations: 3.938 kB / 0.866 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008374/0.8499, allocations: 283.5 kB / 0.8663 GB, free: 11.05 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.001313/0.8512, allocations: 1.334 MB / 0.8676 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000584/0.8518, allocations: 346 kB / 0.8679 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8518, allocations: 0 / 0.8679 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.852, allocations: 136.5 kB / 0.868 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/0.8543, allocations: 0.5183 MB / 0.8685 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00897/0.8633, allocations: 7.938 MB / 0.8763 GB, free: 344 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005673/0.8639, allocations: 1.059 MB / 0.8773 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007806/0.8647, allocations: 201.3 kB / 0.8775 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004099/0.8651, allocations: 367.2 kB / 0.8779 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of SimCode: time 4.91e-07/0.8651, allocations: 0 / 0.8779 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04944/0.9146, allocations: 27.73 MB / 0.9049 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.614/8.529, allocations: 17.92 kB / 0.905 GB, free: 3.355 MB / 0.6387 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)