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.001029/0.001029, allocations: 107.9 kB / 16.41 MB, free: 6.512 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.0009786/0.0009786, allocations: 193.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.298/1.298, 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.7581/0.7581, allocations: 122.9 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 64.75 kB / 0.568 GB, free: 29.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1259, allocations: 77.93 MB / 0.6441 GB, free: 9.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.5169/0.6428, allocations: 248.9 MB / 0.8872 GB, free: 2.973 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02396/0.6668, allocations: 22.29 MB / 0.9089 GB, free: 12.62 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.668, allocations: 51.69 kB / 0.909 GB, free: 12.57 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.6703, allocations: 0.9821 MB / 0.91 GB, free: 11.58 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003211/0.6735, allocations: 1.52 MB / 0.9114 GB, free: 10.05 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003999/0.6776, allocations: 1.954 MB / 0.9133 GB, free: 8.102 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002484/0.68, allocations: 2.713 MB / 0.916 GB, free: 5.383 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/0.6815, allocations: 1.326 MB / 0.9173 GB, free: 4.027 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00197/0.6835, allocations: 1.366 MB / 0.9186 GB, free: 2.656 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.6845, allocations: 0.9143 MB / 0.9195 GB, free: 1.738 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.6847, allocations: 108 kB / 0.9196 GB, free: 1.633 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002565/0.6873, allocations: 1.691 MB / 0.9213 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003144/0.6876, allocations: 370.9 kB / 0.9216 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005917/0.6882, allocations: 0.6415 MB / 0.9222 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0024/0.6906, allocations: 2.277 MB / 0.9245 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6906, allocations: 4 kB / 0.9245 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6906, allocations: 0 / 0.9245 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.568e-05/0.6906, allocations: 0 / 0.9245 GB, free: 12.64 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.001844/0.6925, allocations: 1.517 MB / 0.926 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.6925, allocations: 8.625 kB / 0.926 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001469/0.6927, allocations: 143.5 kB / 0.9261 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.6938, allocations: 239 kB / 0.9263 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.6952, allocations: 0.9163 MB / 0.9272 GB, free: 9.719 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/0.6953, allocations: 188.8 kB / 0.9274 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.6955, allocations: 95.94 kB / 0.9275 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.6969, allocations: 0.9246 MB / 0.9284 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.6969, allocations: 0 / 0.9284 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-05/0.697, allocations: 40 kB / 0.9284 GB, free: 8.418 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.697, allocations: 24 kB / 0.9285 GB, free: 8.395 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.6981, allocations: 0.6324 MB / 0.9291 GB, free: 7.758 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.004168/0.7023, allocations: 4.437 MB / 0.9334 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.7026, allocations: 190.7 kB / 0.9336 GB, free: 2.734 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.7028, allocations: 150 kB / 0.9337 GB, free: 2.586 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008746/0.7037, allocations: 1.025 MB / 0.9347 GB, free: 1.34 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.7038, allocations: 34.56 kB / 0.9348 GB, free: 1.297 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=24): time 1.393e-06/0.7038, allocations: 0 / 0.9348 GB, free: 1.297 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24): time 0.0009775/0.7048, allocations: 482.2 kB / 0.9352 GB, free: 0.8203 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.7048, allocations: 55.41 kB / 0.9353 GB, free: 0.7539 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.7061, allocations: 1.11 MB / 0.9364 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.7061, allocations: 29.7 kB / 0.9364 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003762/0.7065, allocations: 0.5165 MB / 0.9369 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.386e-05/0.7066, allocations: 87.19 kB / 0.937 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.7067, allocations: 102 kB / 0.9371 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.7068, allocations: 325.9 kB / 0.9374 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.7071, allocations: 124.8 kB / 0.9375 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004218/0.7075, allocations: 391 kB / 0.9379 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000566/0.7081, allocations: 467.6 kB / 0.9383 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.7081, allocations: 4 kB / 0.9383 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008652/0.709, allocations: 0.5433 MB / 0.9389 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.709, allocations: 12.62 kB / 0.9389 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.709, allocations: 8 kB / 0.9389 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.709, allocations: 12 kB / 0.9389 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.7094, allocations: 87.84 kB / 0.939 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.7094, allocations: 15.92 kB / 0.939 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006048/0.71, allocations: 95.28 kB / 0.9391 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-05/0.7101, allocations: 27.98 kB / 0.9391 GB, free: 12.59 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.0003205/0.7104, allocations: 285.1 kB / 0.9394 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.7106, allocations: 111.2 kB / 0.9395 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006567/0.7112, allocations: 421.9 kB / 0.9399 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-06/0.7112, allocations: 7.984 kB / 0.9399 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.7113, allocations: 0 / 0.9399 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.7113, allocations: 0 / 0.9399 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/0.7133, allocations: 1.55 MB / 0.9414 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.7133, allocations: 8 kB / 0.9414 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.7135, allocations: 47.84 kB / 0.9415 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.7135, allocations: 8 kB / 0.9415 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.7135, allocations: 8.562 kB / 0.9415 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/0.7136, allocations: 12 kB / 0.9415 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.7136, allocations: 13.52 kB / 0.9415 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000581/0.7142, allocations: 0.5743 MB / 0.9421 GB, free: 9.371 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003132/0.7145, allocations: 240.3 kB / 0.9423 GB, free: 9.117 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.7146, allocations: 12 kB / 0.9423 GB, free: 9.105 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004415/0.7151, allocations: 15.98 kB / 0.9423 GB, free: 9.09 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.7151, allocations: 35.84 kB / 0.9424 GB, free: 9.055 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.7151, allocations: 8 kB / 0.9424 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009374/0.7161, allocations: 0.7822 MB / 0.9431 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7161, allocations: 0 / 0.9431 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007548/0.7168, allocations: 287.4 kB / 0.9434 GB, free: 7.977 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.001296/0.7181, allocations: 1.358 MB / 0.9447 GB, free: 6.543 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0005714/0.7187, allocations: 343 kB / 0.9451 GB, free: 6.211 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.7187, allocations: 4 kB / 0.9451 GB, free: 6.207 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.7189, allocations: 138 kB / 0.9452 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/0.7212, allocations: 0.5228 MB / 0.9457 GB, free: 5.562 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008678/0.7299, allocations: 7.426 MB / 0.953 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005946/0.7305, allocations: 1.063 MB / 0.954 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0005568/0.7311, allocations: 195.8 kB / 0.9542 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004402/0.7315, allocations: 363.3 kB / 0.9545 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of SimCode: time 1.553e-06/0.7315, allocations: 0 / 0.9545 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04772/0.7792, allocations: 28.02 MB / 0.9819 GB, free: 400 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.64/10.42, allocations: 8 kB / 0.9819 GB, free: 392 kB / 0.7325 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)