Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.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.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier",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.0008706/0.0008706, allocations: 98.97 kB / 16.02 MB, free: 80 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.0009264/0.0009264, allocations: 183.5 kB / 16.92 MB, free: 6.754 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.357/1.357, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7095/0.7095, allocations: 115.5 MB / 407.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000315/0.000315, allocations: 12 kB / 496 MB, free: 6.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1399, allocations: 77.53 MB / 0.56 GB, free: 8.906 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.5715/0.7115, allocations: 268.8 MB / 0.8225 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.3371/1.049, allocations: 17.26 MB / 0.8394 GB, free: 31.72 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002565/1.051, allocations: 57.72 kB / 0.8395 GB, free: 31.72 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003214/1.054, allocations: 0.9973 MB / 0.8404 GB, free: 31.71 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008243/1.063, allocations: 2.922 MB / 0.8433 GB, free: 31.63 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005146/1.068, allocations: 2.03 MB / 0.8453 GB, free: 31.55 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008256/1.076, allocations: 6.741 MB / 0.8518 GB, free: 31.55 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002471/1.079, allocations: 1.433 MB / 0.8532 GB, free: 31.41 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005966/1.085, allocations: 2.06 MB / 0.8553 GB, free: 31.39 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003693/1.088, allocations: 1.526 MB / 0.8567 GB, free: 31.38 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005131/1.089, allocations: 76.25 kB / 0.8568 GB, free: 31.38 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006781/1.096, allocations: 3.404 MB / 0.8601 GB, free: 31.34 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001023/1.097, allocations: 0.6017 MB / 0.8607 GB, free: 31.34 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00211/1.099, allocations: 0.9996 MB / 0.8617 GB, free: 31.31 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005758/1.105, allocations: 3.855 MB / 0.8655 GB, free: 31.1 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.105, allocations: 2.906 kB / 0.8655 GB, free: 31.1 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.382e-06/1.105, allocations: 0 / 0.8655 GB, free: 31.1 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.44e-05/1.105, allocations: 3.938 kB / 0.8655 GB, free: 31.1 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.003451/1.108, allocations: 2.03 MB / 0.8675 GB, free: 29.95 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/1.108, allocations: 8.219 kB / 0.8675 GB, free: 29.95 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002205/1.108, allocations: 199.6 kB / 0.8677 GB, free: 29.91 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003835/1.112, allocations: 0.6562 MB / 0.8683 GB, free: 29.79 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/1.114, allocations: 1.33 MB / 0.8696 GB, free: 29.36 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.659e-05/1.114, allocations: 107.6 kB / 0.8697 GB, free: 29.36 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002183/1.114, allocations: 133.5 kB / 0.8698 GB, free: 29.36 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/1.116, allocations: 1.576 MB / 0.8714 GB, free: 29.16 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/1.116, allocations: 4 kB / 0.8714 GB, free: 29.16 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/1.117, allocations: 58 kB / 0.8714 GB, free: 29.16 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.016e-05/1.117, allocations: 55.19 kB / 0.8715 GB, free: 29.15 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/1.118, allocations: 1.263 MB / 0.8727 GB, free: 29.14 MB / 0.6387 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.006273/1.125, allocations: 7.235 MB / 0.8798 GB, free: 25.25 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008473/1.125, allocations: 0.644 MB / 0.8804 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004099/1.126, allocations: 381 kB / 0.8808 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/1.126, allocations: 106.3 kB / 0.8809 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/1.126, allocations: 38.41 kB / 0.8809 GB, free: 25.07 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005707/1.127, allocations: 152.6 kB / 0.8811 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=67): time 2.655e-06/1.127, allocations: 0 / 0.8811 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=67): time 0.00147/1.128, allocations: 1.017 MB / 0.882 GB, free: 24.89 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/1.128, allocations: 65.91 kB / 0.8821 GB, free: 24.83 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/1.129, allocations: 1.338 MB / 0.8834 GB, free: 24.56 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.487e-05/1.129, allocations: 48.55 kB / 0.8835 GB, free: 24.53 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/1.13, allocations: 0.7663 MB / 0.8842 GB, free: 24.16 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/1.13, allocations: 244.8 kB / 0.8844 GB, free: 23.98 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.345e-05/1.13, allocations: 90.09 kB / 0.8845 GB, free: 23.96 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.284e-05/1.13, allocations: 340.4 kB / 0.8849 GB, free: 23.64 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004236/1.13, allocations: 353.4 kB / 0.8852 GB, free: 23.59 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000562/1.131, allocations: 0.6814 MB / 0.8859 GB, free: 23.16 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009607/1.132, allocations: 0.9506 MB / 0.8868 GB, free: 22.85 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.132, allocations: 6.938 kB / 0.8868 GB, free: 22.84 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001321/1.133, allocations: 1.148 MB / 0.8879 GB, free: 22.64 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.85e-05/1.133, allocations: 292.9 kB / 0.8882 GB, free: 22.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/1.133, allocations: 9.531 kB / 0.8882 GB, free: 22.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/1.133, allocations: 11.28 kB / 0.8882 GB, free: 22.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007419/1.134, allocations: 211.9 kB / 0.8884 GB, free: 22.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/1.134, allocations: 20.14 kB / 0.8884 GB, free: 22.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/1.136, allocations: 139.3 kB / 0.8886 GB, free: 22.22 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.173e-05/1.136, allocations: 43.23 kB / 0.8886 GB, free: 22.22 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.45e-06/1.136, allocations: 7.25 kB / 0.8886 GB, free: 22.21 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001162/1.137, allocations: 0.9906 MB / 0.8896 GB, free: 22.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.137, allocations: 6.438 kB / 0.8896 GB, free: 22.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/1.137, allocations: 12.03 kB / 0.8896 GB, free: 22.11 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007029/1.138, allocations: 211 kB / 0.8898 GB, free: 22.08 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/1.138, allocations: 23.27 kB / 0.8898 GB, free: 22.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/1.139, allocations: 131.1 kB / 0.8899 GB, free: 22.03 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.495e-05/1.139, allocations: 41.52 kB / 0.89 GB, free: 22.02 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (121): * Single equations (assignments): 119 * Array equations: 2 * 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.0005422/1.139, allocations: 0.4901 MB / 0.8905 GB, free: 21.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/1.14, allocations: 155.3 kB / 0.8906 GB, free: 21.73 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/1.141, allocations: 0.827 MB / 0.8914 GB, free: 21.55 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/1.141, allocations: 10.06 kB / 0.8914 GB, free: 21.54 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.141, allocations: 0 / 0.8914 GB, free: 21.54 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007243/1.141, allocations: 0.7858 MB / 0.8922 GB, free: 21.23 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/1.144, allocations: 2.298 MB / 0.8944 GB, free: 20.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.144, allocations: 3.312 kB / 0.8944 GB, free: 20.41 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006814/1.145, allocations: 167.1 kB / 0.8946 GB, free: 20.39 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/1.145, allocations: 3.062 kB / 0.8946 GB, free: 20.39 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.098e-05/1.145, allocations: 18.12 kB / 0.8946 GB, free: 20.39 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/1.145, allocations: 7.062 kB / 0.8946 GB, free: 20.39 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.145, allocations: 192 / 0.8946 GB, free: 20.39 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/1.146, allocations: 1.26 MB / 0.8959 GB, free: 20.02 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003699/1.146, allocations: 328.8 kB / 0.8962 GB, free: 19.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/1.146, allocations: 19.06 kB / 0.8962 GB, free: 19.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009518/1.147, allocations: 98.72 kB / 0.8963 GB, free: 19.77 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.759e-05/1.147, allocations: 42.8 kB / 0.8963 GB, free: 19.75 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.745e-05/1.148, allocations: 42.34 kB / 0.8964 GB, free: 19.74 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008786/1.148, allocations: 0.9029 MB / 0.8973 GB, free: 19.49 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/1.148, allocations: 0 / 0.8973 GB, free: 19.49 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001561/1.15, allocations: 0.8476 MB / 0.8981 GB, free: 19.38 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.medium.Xi[1],humBac.vol.dynBal.U,humBac.vol.dynBal.m,humFor.vol.dynBal.medium.Xi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m) * 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 (71): * Single equations (assignments): 71 * 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 Backend phase and start with SimCode phase: time 0.001727/1.152, allocations: 1.958 MB / 0.9 GB, free: 18.43 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001541/1.153, allocations: 1.328 MB / 0.9013 GB, free: 18.27 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.153, allocations: 6.469 kB / 0.9013 GB, free: 18.27 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003646/1.154, allocations: 352 kB / 0.9016 GB, free: 18.23 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003684/1.157, allocations: 0.8373 MB / 0.9024 GB, free: 17.95 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/1.171, allocations: 12.28 MB / 0.9144 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006338/1.172, allocations: 1.344 MB / 0.9157 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001702/1.173, allocations: 412.4 kB / 0.9161 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007563/1.174, allocations: 0.6178 MB / 0.9167 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of SimCode: time 5.71e-07/1.174, allocations: 0 / 0.9167 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.374/3.548, allocations: 40.2 MB / 0.956 GB, free: 1.445 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/3.549, allocations: 242.7 kB / 0.9562 GB, free: 1.191 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.853/6.402, allocations: 10.67 kB / 0.9562 GB, free: 1.184 MB / 0.67 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)