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.001478/0.001478, allocations: 107.9 kB / 16.41 MB, free: 6.508 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.001542/0.001542, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.4/1.4, 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.8252/0.8252, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 67.89 kB / 0.5736 GB, free: 27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1352, allocations: 78.86 MB / 0.6506 GB, free: 3.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.5758/0.711, allocations: 249 MB / 0.8937 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02874/0.7398, allocations: 22.28 MB / 0.9155 GB, free: 3.715 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/0.7415, allocations: 51.69 kB / 0.9155 GB, free: 3.664 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002784/0.7443, allocations: 0.9703 MB / 0.9165 GB, free: 2.688 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004098/0.7484, allocations: 1.461 MB / 0.9179 GB, free: 1.223 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005004/0.7534, allocations: 1.927 MB / 0.9198 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003905/0.7573, allocations: 2.696 MB / 0.9224 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001923/0.7593, allocations: 1.322 MB / 0.9237 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003428/0.7627, allocations: 1.557 MB / 0.9252 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001677/0.7644, allocations: 0.9066 MB / 0.9261 GB, free: 8.773 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001838/0.7646, allocations: 115.9 kB / 0.9262 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003484/0.7681, allocations: 1.66 MB / 0.9278 GB, free: 6.996 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000426/0.7686, allocations: 374.9 kB / 0.9282 GB, free: 6.629 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007911/0.7694, allocations: 0.6298 MB / 0.9288 GB, free: 5.996 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003533/0.7729, allocations: 2.289 MB / 0.931 GB, free: 3.699 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.7729, allocations: 0 / 0.931 GB, free: 3.699 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7729, allocations: 0 / 0.931 GB, free: 3.699 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.773, allocations: 4 kB / 0.931 GB, free: 3.695 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.002115/0.7751, allocations: 1.505 MB / 0.9325 GB, free: 2.133 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.7751, allocations: 12.03 kB / 0.9325 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001762/0.7753, allocations: 143.5 kB / 0.9327 GB, free: 1.973 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.7764, allocations: 239 kB / 0.9329 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.7779, allocations: 0.9241 MB / 0.9338 GB, free: 0.7734 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/0.7781, allocations: 188.7 kB / 0.934 GB, free: 0.5625 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.7782, allocations: 92 kB / 0.9341 GB, free: 484 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.7798, allocations: 0.9324 MB / 0.935 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.7798, allocations: 0 / 0.935 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-05/0.7799, allocations: 36 kB / 0.935 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.7799, allocations: 20 kB / 0.935 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.7811, allocations: 0.6285 MB / 0.9356 GB, free: 14.82 MB / 0.7012 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.004672/0.7858, allocations: 4.441 MB / 0.94 GB, free: 9.988 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.7862, allocations: 190.7 kB / 0.9402 GB, free: 9.793 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.7864, allocations: 140.8 kB / 0.9403 GB, free: 9.652 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/0.7875, allocations: 1.025 MB / 0.9413 GB, free: 8.406 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.7875, allocations: 38.42 kB / 0.9413 GB, free: 8.359 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.7875, allocations: 0 / 0.9413 GB, free: 8.359 MB / 0.7012 GB Notification: Performance of matching and sorting (n=24): time 0.001065/0.7886, allocations: 485.5 kB / 0.9418 GB, free: 7.883 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.7886, allocations: 55.41 kB / 0.9418 GB, free: 7.816 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.7901, allocations: 1.102 MB / 0.9429 GB, free: 6.699 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.7901, allocations: 29.7 kB / 0.943 GB, free: 6.664 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004487/0.7906, allocations: 0.5126 MB / 0.9435 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 8.014e-05/0.7907, allocations: 95.2 kB / 0.9435 GB, free: 6.055 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.7908, allocations: 98.08 kB / 0.9436 GB, free: 5.953 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.791, allocations: 322 kB / 0.9439 GB, free: 5.633 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.7912, allocations: 128.8 kB / 0.9441 GB, free: 5.504 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000514/0.7918, allocations: 389.2 kB / 0.9444 GB, free: 5.016 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006815/0.7925, allocations: 475.5 kB / 0.9449 GB, free: 4.465 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.7925, allocations: 3.938 kB / 0.9449 GB, free: 4.461 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009441/0.7934, allocations: 0.5476 MB / 0.9454 GB, free: 3.906 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.7935, allocations: 8 kB / 0.9454 GB, free: 3.898 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.7935, allocations: 4 kB / 0.9454 GB, free: 3.895 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.7935, allocations: 8 kB / 0.9454 GB, free: 3.887 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003739/0.7939, allocations: 91.83 kB / 0.9455 GB, free: 3.797 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.819e-05/0.7939, allocations: 15.94 kB / 0.9456 GB, free: 3.781 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006354/0.7945, allocations: 95.22 kB / 0.9456 GB, free: 3.688 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/0.7946, allocations: 24 kB / 0.9457 GB, free: 3.664 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.0003933/0.795, allocations: 293.7 kB / 0.9459 GB, free: 3.367 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.7952, allocations: 107.3 kB / 0.946 GB, free: 3.262 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007532/0.7959, allocations: 422.7 kB / 0.9464 GB, free: 2.84 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.796, allocations: 0 / 0.9464 GB, free: 2.84 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.796, allocations: 4.281 kB / 0.9465 GB, free: 2.836 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.796, allocations: 8 kB / 0.9465 GB, free: 2.828 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/0.7982, allocations: 1.551 MB / 0.948 GB, free: 1.168 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.7982, allocations: 4 kB / 0.948 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.7984, allocations: 47.94 kB / 0.948 GB, free: 1.117 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.7984, allocations: 4 kB / 0.948 GB, free: 1.113 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.7985, allocations: 12 kB / 0.948 GB, free: 1.102 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.363e-06/0.7985, allocations: 4 kB / 0.948 GB, free: 1.098 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.07e-05/0.7985, allocations: 12.64 kB / 0.9481 GB, free: 1.086 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006755/0.7992, allocations: 0.5775 MB / 0.9486 GB, free: 452 kB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003027/0.7995, allocations: 240.3 kB / 0.9488 GB, free: 192 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.7996, allocations: 12 kB / 0.9489 GB, free: 180 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004177/0.8, allocations: 19.97 kB / 0.9489 GB, free: 160 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.8001, allocations: 27.86 kB / 0.9489 GB, free: 132 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.8001, allocations: 16 kB / 0.9489 GB, free: 116 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001076/0.8012, allocations: 0.7822 MB / 0.9497 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8012, allocations: 4 kB / 0.9497 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008495/0.8021, allocations: 283.4 kB / 0.95 GB, free: 15.04 MB / 0.7169 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.001595/0.8037, allocations: 1.358 MB / 0.9513 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006534/0.8043, allocations: 341.1 kB / 0.9516 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.8043, allocations: 0 / 0.9516 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.8046, allocations: 140.1 kB / 0.9517 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/0.807, allocations: 0.525 MB / 0.9523 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.8174, allocations: 7.418 MB / 0.9595 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000762/0.8182, allocations: 1.071 MB / 0.9605 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007587/0.8189, allocations: 192.5 kB / 0.9607 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005107/0.8195, allocations: 367.3 kB / 0.9611 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of SimCode: time 6.51e-07/0.8195, allocations: 0 / 0.9611 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06065/0.8801, allocations: 28.04 MB / 0.9885 GB, free: 7.438 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.914/10.79, allocations: 0 / 0.9885 GB, free: 7.438 MB / 0.7481 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)