Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6947/0.6947, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009442/0.000944, allocations: 180.7 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 221.3 MB / 441.4 MB, free: 4.68 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007842/0.0007843, allocations: 94.2 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001676/0.001676, allocations: 278.5 kB / 0.5939 GB, free: 7.984 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.327e-05/3.331e-05, allocations: 8 kB / 0.6835 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.377, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.656/4.033, allocations: 1.889 GB / 2.653 GB, free: 158.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/4.033, allocations: 92.42 kB / 2.653 GB, free: 158.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.043/8.076, allocations: 1.306 GB / 3.959 GB, free: 93.55 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.072e-06/8.076, allocations: 0 / 3.959 GB, free: 93.55 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001311/8.076, allocations: 43.55 kB / 3.959 GB, free: 93.55 MB / 0.7448 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.004101/8.08, allocations: 2.088 MB / 3.961 GB, free: 92.61 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/8.08, allocations: 13.98 kB / 3.961 GB, free: 92.61 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002234/8.08, allocations: 191.1 kB / 3.961 GB, free: 92.57 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003887/8.084, allocations: 0.4972 MB / 3.962 GB, free: 92.46 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003645/8.088, allocations: 1.721 MB / 3.964 GB, free: 92.14 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.685e-05/8.088, allocations: 103 kB / 3.964 GB, free: 92.14 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/8.088, allocations: 134.1 kB / 3.964 GB, free: 92.14 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/8.09, allocations: 1.531 MB / 3.965 GB, free: 91.93 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/8.09, allocations: 3.953 kB / 3.965 GB, free: 91.93 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/8.091, allocations: 63.92 kB / 3.965 GB, free: 91.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.092e-05/8.091, allocations: 53.55 kB / 3.965 GB, free: 91.93 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/8.092, allocations: 1.223 MB / 3.967 GB, free: 91.91 MB / 0.7448 GB Warning: The model contains alias variables with conflicting start and/or 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.006824/8.099, allocations: 7.197 MB / 3.974 GB, free: 88.12 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008373/8.1, allocations: 0.6797 MB / 3.974 GB, free: 88.09 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004507/8.1, allocations: 375.8 kB / 3.975 GB, free: 88.08 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/8.101, allocations: 108.8 kB / 3.975 GB, free: 87.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/8.101, allocations: 44.66 kB / 3.975 GB, free: 87.95 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009223/8.102, allocations: 170.7 kB / 3.975 GB, free: 87.93 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=67): time 2.936e-06/8.102, allocations: 0 / 3.975 GB, free: 87.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=67): time 0.001254/8.103, allocations: 0.7779 MB / 3.976 GB, free: 87.8 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/8.103, allocations: 58.03 kB / 3.976 GB, free: 87.73 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/8.104, allocations: 1.13 MB / 3.977 GB, free: 87.58 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.274e-05/8.104, allocations: 48.17 kB / 3.977 GB, free: 87.55 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000438/8.105, allocations: 0.7815 MB / 3.978 GB, free: 87.27 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/8.105, allocations: 244.5 kB / 3.978 GB, free: 87.12 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/8.105, allocations: 17.06 kB / 3.978 GB, free: 87.12 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.287e-05/8.105, allocations: 338.5 kB / 3.978 GB, free: 86.81 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004163/8.105, allocations: 310.6 kB / 3.979 GB, free: 86.81 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005983/8.106, allocations: 0.6471 MB / 3.979 GB, free: 86.43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005459/8.107, allocations: 422.7 kB / 3.98 GB, free: 86.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/8.107, allocations: 0 / 3.98 GB, free: 86.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001309/8.108, allocations: 1.057 MB / 3.981 GB, free: 86.3 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004375/8.108, allocations: 2.511 MB / 3.983 GB, free: 83.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/8.108, allocations: 7.594 kB / 3.983 GB, free: 83.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/8.108, allocations: 10.59 kB / 3.983 GB, free: 83.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007549/8.109, allocations: 201 kB / 3.983 GB, free: 83.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/8.109, allocations: 10.88 kB / 3.983 GB, free: 83.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/8.111, allocations: 124.8 kB / 3.983 GB, free: 83.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-05/8.111, allocations: 40.64 kB / 3.983 GB, free: 83.73 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.173e-06/8.111, allocations: 6.688 kB / 3.983 GB, free: 83.73 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001097/8.112, allocations: 0.8945 MB / 3.984 GB, free: 83.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/8.112, allocations: 3.906 kB / 3.984 GB, free: 83.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/8.112, allocations: 15.61 kB / 3.984 GB, free: 83.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006984/8.113, allocations: 192.8 kB / 3.985 GB, free: 83.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/8.113, allocations: 19.56 kB / 3.985 GB, free: 83.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/8.114, allocations: 117.9 kB / 3.985 GB, free: 83.69 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.084e-05/8.114, allocations: 37.03 kB / 3.985 GB, free: 83.69 MB / 0.7448 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 111 * 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.000181/8.114, allocations: 162.5 kB / 3.985 GB, free: 83.58 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/8.114, allocations: 147.8 kB / 3.985 GB, free: 83.51 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/8.115, allocations: 0.8324 MB / 3.986 GB, free: 83.43 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/8.116, allocations: 13.05 kB / 3.986 GB, free: 83.43 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/8.116, allocations: 0 / 3.986 GB, free: 83.43 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007573/8.116, allocations: 0.7928 MB / 3.987 GB, free: 83.16 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003001/8.119, allocations: 2.338 MB / 3.989 GB, free: 82.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/8.119, allocations: 0 / 3.989 GB, free: 82.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007498/8.12, allocations: 167.9 kB / 3.989 GB, free: 82.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-06/8.12, allocations: 7.188 kB / 3.989 GB, free: 82.78 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.803e-05/8.12, allocations: 19.31 kB / 3.989 GB, free: 82.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/8.12, allocations: 6.188 kB / 3.989 GB, free: 82.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/8.12, allocations: 3.312 kB / 3.989 GB, free: 82.78 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/8.122, allocations: 1.42 MB / 3.99 GB, free: 82.36 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005635/8.122, allocations: 325.6 kB / 3.991 GB, free: 82.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/8.122, allocations: 16.03 kB / 3.991 GB, free: 82.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009867/8.123, allocations: 105.5 kB / 3.991 GB, free: 82.18 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.061e-05/8.123, allocations: 44.06 kB / 3.991 GB, free: 82.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.13e-05/8.124, allocations: 38.33 kB / 3.991 GB, free: 82.18 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001027/8.125, allocations: 0.8725 MB / 3.992 GB, free: 82.06 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.71e-07/8.125, allocations: 3.969 kB / 3.992 GB, free: 82.06 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00282/8.127, allocations: 1.159 MB / 3.993 GB, free: 81.95 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.U,humBac.vol.dynBal.m,humBac.vol.dynBal.mXi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m,humFor.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * 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 Backend phase and start with SimCode phase: time 0.00541/8.133, allocations: 5.438 MB / 3.998 GB, free: 79.36 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001747/8.135, allocations: 1.281 MB / 4 GB, free: 79.34 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/8.135, allocations: 7.344 kB / 4 GB, free: 79.33 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003846/8.135, allocations: 347.5 kB / 4 GB, free: 79.32 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003882/8.139, allocations: 0.8899 MB / 4.001 GB, free: 79.3 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00419/8.143, allocations: 2.706 MB / 4.003 GB, free: 78.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006454/8.144, allocations: 1.383 MB / 4.005 GB, free: 77.88 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002026/8.146, allocations: 0.559 MB / 4.005 GB, free: 77.86 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005873/8.146, allocations: 0.5825 MB / 4.006 GB, free: 77.85 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/8.146, allocations: 0 / 4.006 GB, free: 77.85 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.11/8.256, allocations: 96 MB / 4.1 GB, free: 46.49 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001424/8.257, allocations: 220.3 kB / 4.1 GB, free: 46.25 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.802/13.06, allocations: 2.109 kB / 4.1 GB, free: 46.25 MB / 0.7448 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)