Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002061/0.002061, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.025/1.025, allocations: 133.6 MB / 141.6 MB, free: 2.883 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.769/1.769, allocations: 221.5 MB / 395.5 MB, free: 10.81 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.0009446/0.0009445, allocations: 106.7 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.849e-05/2.852e-05, allocations: 7.984 kB / 0.5536 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6379/0.6379, allocations: 82.3 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.768/6.406, allocations: 1.891 GB / 2.525 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/6.406, allocations: 90.58 kB / 2.525 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.6/12.01, allocations: 1.292 GB / 3.817 GB, free: 77.86 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.794e-06/12.01, allocations: 0 / 3.817 GB, free: 77.86 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001571/12.01, allocations: 48.19 kB / 3.817 GB, free: 77.85 MB / 0.7136 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.005675/12.01, allocations: 2.083 MB / 3.819 GB, free: 76.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.269e-05/12.01, allocations: 10.88 kB / 3.819 GB, free: 76.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004578/12.02, allocations: 0.4953 MB / 3.82 GB, free: 76.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004406/12.02, allocations: 1.737 MB / 3.821 GB, free: 76.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.77e-05/12.02, allocations: 48.5 kB / 3.821 GB, free: 76.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/12.02, allocations: 80.25 kB / 3.822 GB, free: 76.39 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002175/12.02, allocations: 1.151 MB / 3.823 GB, free: 76.38 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/12.03, allocations: 1.269 MB / 3.824 GB, free: 76.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.61e-05/12.03, allocations: 7.125 kB / 3.824 GB, free: 76.18 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/12.03, allocations: 3.125 kB / 3.824 GB, free: 76.18 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.644e-05/12.03, allocations: 45.61 kB / 3.824 GB, free: 76.18 MB / 0.7136 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.008995/12.04, allocations: 6.909 MB / 3.831 GB, free: 72.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009729/12.04, allocations: 0.6446 MB / 3.831 GB, free: 72.38 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000521/12.04, allocations: 354.9 kB / 3.832 GB, free: 72.37 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002433/12.04, allocations: 113.2 kB / 3.832 GB, free: 72.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/12.04, allocations: 49.25 kB / 3.832 GB, free: 72.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001038/12.04, allocations: 138.8 kB / 3.832 GB, free: 72.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=67): time 8.766e-06/12.04, allocations: 0 / 3.832 GB, free: 72.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=67): time 0.001702/12.04, allocations: 0.7186 MB / 3.833 GB, free: 72.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/12.04, allocations: 57.78 kB / 3.833 GB, free: 72.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/12.04, allocations: 0.9127 MB / 3.834 GB, free: 71.87 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.166e-05/12.04, allocations: 25.7 kB / 3.834 GB, free: 71.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006211/12.04, allocations: 0.7914 MB / 3.834 GB, free: 71.51 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002382/12.04, allocations: 234.2 kB / 3.835 GB, free: 71.36 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/12.04, allocations: 6.031 kB / 3.835 GB, free: 71.36 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001075/12.04, allocations: 341.5 kB / 3.835 GB, free: 71.05 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004694/12.04, allocations: 295.9 kB / 3.835 GB, free: 71.05 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007275/12.04, allocations: 0.6152 MB / 3.836 GB, free: 70.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006926/12.04, allocations: 412 kB / 3.836 GB, free: 70.65 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/12.04, allocations: 3.875 kB / 3.836 GB, free: 70.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001598/12.05, allocations: 0.9611 MB / 3.837 GB, free: 70.53 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007076/12.05, allocations: 2.476 MB / 3.84 GB, free: 67.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/12.05, allocations: 6.562 kB / 3.84 GB, free: 67.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.938e-05/12.05, allocations: 13.94 kB / 3.84 GB, free: 67.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008415/12.05, allocations: 197.7 kB / 3.84 GB, free: 67.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.226e-05/12.05, allocations: 21.75 kB / 3.84 GB, free: 67.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/12.05, allocations: 83.34 kB / 3.84 GB, free: 67.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/12.05, allocations: 44.81 kB / 3.84 GB, free: 67.97 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/12.05, allocations: 5.75 kB / 3.84 GB, free: 67.97 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001142/12.05, allocations: 0.7902 MB / 3.841 GB, free: 67.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/12.05, allocations: 11.66 kB / 3.841 GB, free: 67.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/12.05, allocations: 11.72 kB / 3.841 GB, free: 67.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007434/12.05, allocations: 196.2 kB / 3.841 GB, free: 67.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/12.05, allocations: 14.88 kB / 3.841 GB, free: 67.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/12.05, allocations: 84.47 kB / 3.841 GB, free: 67.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.356e-05/12.05, allocations: 48.12 kB / 3.841 GB, free: 67.94 MB / 0.7136 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.0002384/12.05, allocations: 124.7 kB / 3.841 GB, free: 67.83 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000996/12.05, allocations: 0.6963 MB / 3.842 GB, free: 67.71 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/12.05, allocations: 139.7 kB / 3.842 GB, free: 67.64 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/12.06, allocations: 0.7617 MB / 3.843 GB, free: 67.57 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/12.06, allocations: 10.69 kB / 3.843 GB, free: 67.56 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/12.06, allocations: 0 / 3.843 GB, free: 67.56 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007976/12.06, allocations: 0.7529 MB / 3.843 GB, free: 67.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003787/12.06, allocations: 2.127 MB / 3.846 GB, free: 66.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.351e-06/12.06, allocations: 7.312 kB / 3.846 GB, free: 66.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007901/12.06, allocations: 168.3 kB / 3.846 GB, free: 66.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-05/12.06, allocations: 4.156 kB / 3.846 GB, free: 66.94 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-05/12.06, allocations: 13.2 kB / 3.846 GB, free: 66.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/12.06, allocations: 8.156 kB / 3.846 GB, free: 66.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/12.06, allocations: 2.031 kB / 3.846 GB, free: 66.94 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/12.06, allocations: 1.347 MB / 3.847 GB, free: 66.54 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006356/12.06, allocations: 306.1 kB / 3.847 GB, free: 66.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000268/12.06, allocations: 7.797 kB / 3.847 GB, free: 66.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/12.07, allocations: 80.97 kB / 3.847 GB, free: 66.36 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.251e-05/12.07, allocations: 53.3 kB / 3.848 GB, free: 66.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.419e-05/12.07, allocations: 33.45 kB / 3.848 GB, free: 66.36 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001085/12.07, allocations: 0.6818 MB / 3.848 GB, free: 66.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.61e-07/12.07, allocations: 0 / 3.848 GB, free: 66.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003762/12.07, allocations: 1.056 MB / 3.849 GB, free: 66.11 MB / 0.7136 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.007494/12.08, allocations: 5.704 MB / 3.855 GB, free: 63.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002429/12.08, allocations: 1.205 MB / 3.856 GB, free: 63.46 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/12.08, allocations: 0 / 3.856 GB, free: 63.46 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003902/12.08, allocations: 337 kB / 3.856 GB, free: 63.45 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004515/12.09, allocations: 0.7424 MB / 3.857 GB, free: 63.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009816/12.1, allocations: 2.614 MB / 3.86 GB, free: 62.71 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001846/12.1, allocations: 1.39 MB / 3.861 GB, free: 62 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003144/12.1, allocations: 0.4903 MB / 3.861 GB, free: 61.98 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/12.1, allocations: 0.5787 MB / 3.862 GB, free: 61.97 MB / 0.7136 GB Notification: Performance of SimCode: time 1.082e-06/12.1, allocations: 0 / 3.862 GB, free: 61.97 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1125/12.21, allocations: 61.16 MB / 3.922 GB, free: 27.04 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/12.21, allocations: 166.4 kB / 3.922 GB, free: 26.85 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.398/16.61, allocations: 3.938 kB / 3.922 GB, free: 26.85 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)