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.9548/0.9548, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 180.9 kB / 182.2 MB, free: 9.441 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.607/1.607, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009199/0.0009203, allocations: 84.12 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002045/0.002045, allocations: 294 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.736e-05/2.714e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5731/0.5732, allocations: 82.78 MB / 0.7575 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.384/5.957, allocations: 1.888 GB / 2.646 GB, free: 129.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/5.957, allocations: 89.95 kB / 2.646 GB, free: 129.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.174/11.13, allocations: 1.292 GB / 3.938 GB, free: 83.26 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.954e-06/11.13, allocations: 0.9688 kB / 3.938 GB, free: 83.26 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001293/11.13, allocations: 44.48 kB / 3.938 GB, free: 83.25 MB / 0.7292 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.005137/11.14, allocations: 2.095 MB / 3.94 GB, free: 82.31 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/11.14, allocations: 11.81 kB / 3.94 GB, free: 82.31 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00436/11.14, allocations: 0.4895 MB / 3.941 GB, free: 82.21 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003813/11.15, allocations: 1.731 MB / 3.942 GB, free: 81.89 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.924e-05/11.15, allocations: 39.03 kB / 3.942 GB, free: 81.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/11.15, allocations: 86.59 kB / 3.942 GB, free: 81.89 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002021/11.15, allocations: 1.147 MB / 3.944 GB, free: 81.88 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/11.15, allocations: 1.272 MB / 3.945 GB, free: 81.68 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.321e-05/11.15, allocations: 2.531 kB / 3.945 GB, free: 81.68 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/11.15, allocations: 4.938 kB / 3.945 GB, free: 81.68 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/11.15, allocations: 43.23 kB / 3.945 GB, free: 81.68 MB / 0.7292 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.007712/11.16, allocations: 6.921 MB / 3.952 GB, free: 77.96 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008343/11.16, allocations: 0.6544 MB / 3.952 GB, free: 77.93 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004325/11.16, allocations: 353.5 kB / 3.953 GB, free: 77.92 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001883/11.16, allocations: 105.8 kB / 3.953 GB, free: 77.82 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/11.16, allocations: 44.91 kB / 3.953 GB, free: 77.79 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009294/11.16, allocations: 142.4 kB / 3.953 GB, free: 77.77 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=67): time 4.288e-06/11.16, allocations: 3.938 kB / 3.953 GB, free: 77.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=67): time 0.001498/11.16, allocations: 0.7255 MB / 3.954 GB, free: 77.65 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/11.16, allocations: 66.52 kB / 3.954 GB, free: 77.59 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/11.16, allocations: 0.9075 MB / 3.955 GB, free: 77.43 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.273e-05/11.16, allocations: 29.61 kB / 3.955 GB, free: 77.4 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005174/11.16, allocations: 0.7838 MB / 3.955 GB, free: 77.08 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/11.16, allocations: 233.4 kB / 3.956 GB, free: 76.93 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/11.16, allocations: 0 / 3.956 GB, free: 76.93 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.413e-05/11.16, allocations: 341.3 kB / 3.956 GB, free: 76.63 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004199/11.16, allocations: 294.3 kB / 3.956 GB, free: 76.62 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006252/11.16, allocations: 0.617 MB / 3.957 GB, free: 76.24 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/11.17, allocations: 410.5 kB / 3.957 GB, free: 76.23 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/11.17, allocations: 0 / 3.957 GB, free: 76.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001637/11.17, allocations: 0.9641 MB / 3.958 GB, free: 76.11 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.00103/11.17, allocations: 2.477 MB / 3.96 GB, free: 73.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/11.17, allocations: 6.5 kB / 3.96 GB, free: 73.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.897e-05/11.17, allocations: 10.66 kB / 3.961 GB, free: 73.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008733/11.17, allocations: 204.4 kB / 3.961 GB, free: 73.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.046e-05/11.17, allocations: 15.91 kB / 3.961 GB, free: 73.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/11.17, allocations: 90.62 kB / 3.961 GB, free: 73.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/11.17, allocations: 44.48 kB / 3.961 GB, free: 73.55 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/11.17, allocations: 4.625 kB / 3.961 GB, free: 73.55 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001336/11.17, allocations: 0.7894 MB / 3.962 GB, free: 73.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/11.17, allocations: 3.969 kB / 3.962 GB, free: 73.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/11.17, allocations: 10.72 kB / 3.962 GB, free: 73.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007257/11.17, allocations: 201.7 kB / 3.962 GB, free: 73.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/11.17, allocations: 13.16 kB / 3.962 GB, free: 73.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/11.17, allocations: 100.8 kB / 3.962 GB, free: 73.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.365e-05/11.17, allocations: 41.88 kB / 3.962 GB, free: 73.52 MB / 0.7292 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.0002404/11.17, allocations: 129.8 kB / 3.962 GB, free: 73.41 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001036/11.18, allocations: 0.6876 MB / 3.963 GB, free: 73.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/11.18, allocations: 133.7 kB / 3.963 GB, free: 73.23 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/11.18, allocations: 0.7631 MB / 3.964 GB, free: 73.16 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/11.18, allocations: 14.23 kB / 3.964 GB, free: 73.15 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/11.18, allocations: 0 / 3.964 GB, free: 73.15 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008107/11.18, allocations: 0.7538 MB / 3.964 GB, free: 72.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003362/11.18, allocations: 2.131 MB / 3.966 GB, free: 72.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/11.18, allocations: 3.938 kB / 3.966 GB, free: 72.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008736/11.18, allocations: 166.5 kB / 3.967 GB, free: 72.53 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/11.18, allocations: 6.688 kB / 3.967 GB, free: 72.53 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-05/11.18, allocations: 7.469 kB / 3.967 GB, free: 72.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.387e-06/11.18, allocations: 12.25 kB / 3.967 GB, free: 72.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/11.18, allocations: 3.938 kB / 3.967 GB, free: 72.53 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/11.18, allocations: 1.344 MB / 3.968 GB, free: 72.13 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006881/11.19, allocations: 300.2 kB / 3.968 GB, free: 71.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/11.19, allocations: 7.5 kB / 3.968 GB, free: 71.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/11.19, allocations: 85.45 kB / 3.968 GB, free: 71.96 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.147e-05/11.19, allocations: 47.05 kB / 3.968 GB, free: 71.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.995e-05/11.19, allocations: 32 kB / 3.968 GB, free: 71.96 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001052/11.19, allocations: 0.6828 MB / 3.969 GB, free: 71.85 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.9e-07/11.19, allocations: 0 / 3.969 GB, free: 71.85 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003289/11.19, allocations: 1.053 MB / 3.97 GB, free: 71.72 MB / 0.7292 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.007317/11.2, allocations: 5.715 MB / 3.976 GB, free: 69.12 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002225/11.2, allocations: 1.2 MB / 3.977 GB, free: 69.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/11.2, allocations: 3.219 kB / 3.977 GB, free: 69.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004136/11.2, allocations: 334.8 kB / 3.977 GB, free: 69.09 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004458/11.21, allocations: 0.7582 MB / 3.978 GB, free: 69.07 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005766/11.21, allocations: 2.599 MB / 3.98 GB, free: 68.38 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007918/11.21, allocations: 1.389 MB / 3.982 GB, free: 67.66 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002227/11.21, allocations: 0.489 MB / 3.982 GB, free: 67.64 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006965/11.21, allocations: 0.5808 MB / 3.983 GB, free: 67.63 MB / 0.7292 GB Notification: Performance of SimCode: time 1.242e-06/11.21, allocations: 5.016 kB / 3.983 GB, free: 67.63 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1238/11.34, allocations: 61.36 MB / 4.043 GB, free: 63.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002523/11.34, allocations: 186.1 kB / 4.043 GB, free: 63.71 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.27/15.61, allocations: 1.875 kB / 4.043 GB, free: 63.71 MB / 0.7292 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)