Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008367/0.0008368, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008962/0.0008962, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.154/1.154, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6634/0.6634, allocations: 132.4 MB / 423.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002553/0.0002553, allocations: 12 kB / 0.5034 GB, free: 4.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3343, allocations: 81.57 MB / 0.5831 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.4943/0.8286, allocations: 250.7 MB / 0.8279 GB, free: 22.03 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01569/0.8444, allocations: 16.18 MB / 0.8437 GB, free: 21.84 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/0.8459, allocations: 57.69 kB / 0.8438 GB, free: 21.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001766/0.8477, allocations: 0.7552 MB / 0.8445 GB, free: 21.83 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005115/0.8528, allocations: 2.305 MB / 0.8468 GB, free: 21.72 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003758/0.8566, allocations: 1.513 MB / 0.8483 GB, free: 21.68 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005503/0.8621, allocations: 5.676 MB / 0.8538 GB, free: 21.66 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/0.8636, allocations: 1.302 MB / 0.8551 GB, free: 21.5 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003192/0.8668, allocations: 1.926 MB / 0.857 GB, free: 21.48 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001443/0.8683, allocations: 1.448 MB / 0.8584 GB, free: 21.46 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.8684, allocations: 72.88 kB / 0.8584 GB, free: 21.46 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003391/0.8718, allocations: 1.621 MB / 0.86 GB, free: 21.44 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004649/0.8723, allocations: 0.5976 MB / 0.8606 GB, free: 21.44 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003907/0.8727, allocations: 432.7 kB / 0.861 GB, free: 21.4 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002064/0.8748, allocations: 2.635 MB / 0.8636 GB, free: 21.21 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.8748, allocations: 5.969 kB / 0.8636 GB, free: 21.2 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8748, allocations: 0 / 0.8636 GB, free: 21.2 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.865e-05/0.8748, allocations: 0 / 0.8636 GB, free: 21.2 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.002535/0.8773, allocations: 2.053 MB / 0.8656 GB, free: 20.06 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 2.787e-05/0.8774, allocations: 9.031 kB / 0.8656 GB, free: 20.06 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003394/0.8808, allocations: 0.6444 MB / 0.8663 GB, free: 19.95 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.8823, allocations: 1.284 MB / 0.8675 GB, free: 19.57 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.944e-05/0.8824, allocations: 106 kB / 0.8676 GB, free: 19.56 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.8826, allocations: 136.7 kB / 0.8677 GB, free: 19.56 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00196/0.8845, allocations: 1.561 MB / 0.8693 GB, free: 19.37 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.8846, allocations: 2.438 kB / 0.8693 GB, free: 19.37 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.8847, allocations: 55.33 kB / 0.8693 GB, free: 19.37 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-05/0.8847, allocations: 52.31 kB / 0.8694 GB, free: 19.36 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/0.8863, allocations: 1.25 MB / 0.8706 GB, free: 19.35 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.005636/0.8919, allocations: 7.214 MB / 0.8776 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007437/0.8927, allocations: 0.65 MB / 0.8783 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003818/0.8931, allocations: 368.7 kB / 0.8786 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001477/0.8932, allocations: 107.4 kB / 0.8787 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.8933, allocations: 43.84 kB / 0.8788 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005077/0.8938, allocations: 145.2 kB / 0.8789 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=67): time 2.244e-06/0.8938, allocations: 0 / 0.8789 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of matching and sorting (n=67): time 0.001363/0.8951, allocations: 1.011 MB / 0.8799 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.8952, allocations: 60.66 kB / 0.8799 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.8964, allocations: 1.328 MB / 0.8812 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.474e-05/0.8965, allocations: 45.27 kB / 0.8813 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003691/0.8968, allocations: 0.7676 MB / 0.882 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.897, allocations: 248.4 kB / 0.8823 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.897, allocations: 21.31 kB / 0.8823 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.753e-05/0.8971, allocations: 347.1 kB / 0.8826 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004035/0.8975, allocations: 343.6 kB / 0.8829 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005408/0.898, allocations: 0.6747 MB / 0.8836 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005061/0.8986, allocations: 454.2 kB / 0.884 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.8986, allocations: 3.062 kB / 0.884 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001281/0.8999, allocations: 1.136 MB / 0.8852 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.341e-05/0.9, allocations: 288.5 kB / 0.8854 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.9, allocations: 5.219 kB / 0.8854 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.9, allocations: 14.75 kB / 0.8854 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007367/0.9007, allocations: 215 kB / 0.8857 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.9008, allocations: 18.7 kB / 0.8857 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.9019, allocations: 124 kB / 0.8858 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-05/0.9019, allocations: 46.62 kB / 0.8858 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.361e-06/0.902, allocations: 5.719 kB / 0.8858 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001105/0.9031, allocations: 0.979 MB / 0.8868 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.9031, allocations: 6.312 kB / 0.8868 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.9031, allocations: 13.38 kB / 0.8868 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006891/0.9038, allocations: 213.7 kB / 0.887 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.9038, allocations: 12.28 kB / 0.887 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009862/0.9048, allocations: 120.3 kB / 0.8871 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-05/0.9049, allocations: 43.77 kB / 0.8872 GB, free: 12.72 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000548/0.9054, allocations: 0.4927 MB / 0.8877 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.9056, allocations: 149.1 kB / 0.8878 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.9067, allocations: 0.8174 MB / 0.8886 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.9067, allocations: 7.656 kB / 0.8886 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.9067, allocations: 0 / 0.8886 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008097/0.9075, allocations: 0.7816 MB / 0.8894 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002718/0.9103, allocations: 2.287 MB / 0.8916 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.9103, allocations: 3.344 kB / 0.8916 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006946/0.911, allocations: 170.2 kB / 0.8918 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.911, allocations: 6.438 kB / 0.8918 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.004e-05/0.911, allocations: 19.5 kB / 0.8918 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.9111, allocations: 2.625 kB / 0.8918 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9111, allocations: 6.922 kB / 0.8918 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.9123, allocations: 1.307 MB / 0.8931 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003726/0.9127, allocations: 323.1 kB / 0.8934 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.9129, allocations: 19.34 kB / 0.8934 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008159/0.9137, allocations: 92.09 kB / 0.8935 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/0.9138, allocations: 51.86 kB / 0.8936 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.977e-05/0.9138, allocations: 30.89 kB / 0.8936 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008683/0.9147, allocations: 0.8948 MB / 0.8945 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9147, allocations: 0 / 0.8945 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001578/0.9163, allocations: 0.8435 MB / 0.8953 GB, free: 10.07 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.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 () * 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 (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.0003833/0.9167, allocations: 267.9 kB / 0.8955 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00145/0.9181, allocations: 1.31 MB / 0.8968 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.9182, allocations: 3.188 kB / 0.8968 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003451/0.9185, allocations: 350.8 kB / 0.8971 GB, free: 9.723 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002844/0.9214, allocations: 0.8356 MB / 0.898 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.9245, allocations: 3.46 MB / 0.9013 GB, free: 7.371 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005703/0.9251, allocations: 1.352 MB / 0.9027 GB, free: 6.414 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001349/0.9264, allocations: 416.2 kB / 0.9031 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/0.9267, allocations: 114.9 kB / 0.9032 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of SimCode: time 4.71e-07/0.9267, allocations: 4 kB / 0.9032 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of Templates: time 0.0353/0.962, allocations: 27.11 MB / 0.9297 GB, free: 14.64 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)