Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003761/0.003761, allocations: 356.4 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.463/1.463, allocations: 165.8 MB / 182.5 MB, free: 5.469 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.704/3.704, allocations: 410.8 MB / 0.5995 GB, free: 15.16 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001712/0.001711, allocations: 193.4 kB / 0.6662 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000455/0.0004555, allocations: 15.98 kB / 0.7423 GB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.334, allocations: 67.45 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7143/1.048, allocations: 244.4 MB / 1.047 GB, free: 4.477 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02918/1.078, allocations: 16.98 MB / 1.063 GB, free: 3.465 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002584/1.08, allocations: 55.62 kB / 1.063 GB, free: 3.41 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.00358/1.084, allocations: 0.8812 MB / 1.064 GB, free: 2.523 MB / 0.5105 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01184/1.096, allocations: 3.234 MB / 1.067 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.006995/1.103, allocations: 1.734 MB / 1.069 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.008947/1.112, allocations: 5.682 MB / 1.075 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002788/1.114, allocations: 1.299 MB / 1.076 GB, free: 6.535 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004648/1.119, allocations: 1.696 MB / 1.078 GB, free: 4.832 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003006/1.122, allocations: 1.436 MB / 1.079 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.000369/1.123, allocations: 72 kB / 1.079 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004336/1.127, allocations: 1.184 MB / 1.08 GB, free: 2.133 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.001064/1.128, allocations: 0.5879 MB / 1.081 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0008842/1.129, allocations: 436.7 kB / 1.081 GB, free: 1.109 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.004246/1.133, allocations: 2.474 MB / 1.084 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.441e-06/1.133, allocations: 0 / 1.084 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.121e-06/1.133, allocations: 0 / 1.084 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.642e-05/1.133, allocations: 0 / 1.084 GB, free: 14.63 MB / 0.5417 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.004425/1.138, allocations: 1.995 MB / 1.086 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/1.138, allocations: 8.031 kB / 1.086 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005625/1.143, allocations: 0.6495 MB / 1.086 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003309/1.147, allocations: 1.265 MB / 1.087 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/1.147, allocations: 98.55 kB / 1.088 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005264/1.147, allocations: 151.9 kB / 1.088 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003622/1.151, allocations: 1.557 MB / 1.089 GB, free: 8.715 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.336e-05/1.151, allocations: 11.92 kB / 1.089 GB, free: 8.703 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001924/1.151, allocations: 56 kB / 1.089 GB, free: 8.648 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.488e-05/1.151, allocations: 50.45 kB / 1.089 GB, free: 8.598 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003105/1.155, allocations: 1.251 MB / 1.091 GB, free: 7.34 MB / 0.5417 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.01296/1.168, allocations: 7.207 MB / 1.098 GB, free: 15.56 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/1.169, allocations: 0.6535 MB / 1.098 GB, free: 14.9 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007869/1.17, allocations: 366.8 kB / 1.099 GB, free: 14.54 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002498/1.17, allocations: 105.7 kB / 1.099 GB, free: 14.42 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.918e-05/1.17, allocations: 51.11 kB / 1.099 GB, free: 14.36 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001153/1.171, allocations: 143 kB / 1.099 GB, free: 14.22 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=67): time 4.441e-06/1.171, allocations: 0 / 1.099 GB, free: 14.22 MB / 0.5574 GB Notification: Performance of matching and sorting (n=67): time 0.002781/1.174, allocations: 1.009 MB / 1.1 GB, free: 13.21 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/1.174, allocations: 55.97 kB / 1.1 GB, free: 13.14 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002553/1.177, allocations: 1.331 MB / 1.101 GB, free: 11.8 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.000175/1.177, allocations: 49.7 kB / 1.101 GB, free: 11.75 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008697/1.178, allocations: 0.77 MB / 1.102 GB, free: 10.97 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003553/1.178, allocations: 244.4 kB / 1.102 GB, free: 10.72 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.262e-05/1.178, allocations: 16 kB / 1.102 GB, free: 10.71 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0002074/1.179, allocations: 345.9 kB / 1.103 GB, free: 10.36 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008405/1.18, allocations: 341.8 kB / 1.103 GB, free: 10.03 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/1.181, allocations: 0.679 MB / 1.104 GB, free: 9.211 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/1.182, allocations: 454.7 kB / 1.104 GB, free: 8.77 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.525e-06/1.182, allocations: 0 / 1.104 GB, free: 8.77 MB / 0.5574 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002706/1.185, allocations: 1.137 MB / 1.105 GB, free: 7.625 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002622/1.185, allocations: 287.7 kB / 1.105 GB, free: 7.25 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/1.185, allocations: 8 kB / 1.105 GB, free: 7.242 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.37e-05/1.185, allocations: 23.88 kB / 1.105 GB, free: 7.219 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/1.186, allocations: 203.7 kB / 1.106 GB, free: 7.02 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.382e-05/1.186, allocations: 19.88 kB / 1.106 GB, free: 7 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/1.188, allocations: 133 kB / 1.106 GB, free: 6.875 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/1.188, allocations: 47.98 kB / 1.106 GB, free: 6.828 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/1.188, allocations: 4 kB / 1.106 GB, free: 6.824 MB / 0.5574 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002377/1.191, allocations: 0.9759 MB / 1.107 GB, free: 5.852 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/1.191, allocations: 8 kB / 1.107 GB, free: 5.844 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/1.191, allocations: 12 kB / 1.107 GB, free: 5.832 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/1.192, allocations: 203.7 kB / 1.107 GB, free: 5.633 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.674e-05/1.192, allocations: 19.92 kB / 1.107 GB, free: 5.613 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/1.194, allocations: 128.2 kB / 1.107 GB, free: 5.488 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/1.194, allocations: 43.98 kB / 1.107 GB, free: 5.445 MB / 0.5574 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.001151/1.196, allocations: 0.4889 MB / 1.108 GB, free: 4.945 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000412/1.196, allocations: 146.2 kB / 1.108 GB, free: 4.801 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001986/1.198, allocations: 0.8201 MB / 1.109 GB, free: 3.965 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/1.198, allocations: 8 kB / 1.109 GB, free: 3.957 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/1.198, allocations: 0 / 1.109 GB, free: 3.957 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001475/1.2, allocations: 0.7784 MB / 1.109 GB, free: 3.129 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005254/1.205, allocations: 2.294 MB / 1.112 GB, free: 0.7578 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.2e-06/1.205, allocations: 0 / 1.112 GB, free: 0.7578 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/1.206, allocations: 171.8 kB / 1.112 GB, free: 0.5898 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.388e-05/1.206, allocations: 4 kB / 1.112 GB, free: 0.5859 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.448e-05/1.206, allocations: 20 kB / 1.112 GB, free: 0.5664 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/1.206, allocations: 4 kB / 1.112 GB, free: 0.5625 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.825e-06/1.206, allocations: 3.953 kB / 1.112 GB, free: 0.5586 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002789/1.209, allocations: 1.312 MB / 1.113 GB, free: 15.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009537/1.21, allocations: 319.2 kB / 1.113 GB, free: 14.87 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002654/1.21, allocations: 20 kB / 1.113 GB, free: 14.85 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/1.212, allocations: 83.83 kB / 1.113 GB, free: 14.77 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/1.212, allocations: 52.28 kB / 1.114 GB, free: 14.72 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/1.212, allocations: 31.98 kB / 1.114 GB, free: 14.69 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001797/1.214, allocations: 0.8886 MB / 1.114 GB, free: 13.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.076e-06/1.214, allocations: 0 / 1.114 GB, free: 13.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003129/1.217, allocations: 0.8495 MB / 1.115 GB, free: 12.95 MB / 0.573 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.0006947/1.218, allocations: 267.9 kB / 1.116 GB, free: 12.69 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003119/1.221, allocations: 1.32 MB / 1.117 GB, free: 11.38 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.557e-06/1.221, allocations: 4.062 kB / 1.117 GB, free: 11.38 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007844/1.222, allocations: 347 kB / 1.117 GB, free: 11.04 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005195/1.227, allocations: 0.8479 MB / 1.118 GB, free: 10.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0069/1.234, allocations: 3.456 MB / 1.121 GB, free: 6.691 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001462/1.235, allocations: 1.376 MB / 1.123 GB, free: 5.285 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002719/1.238, allocations: 424.4 kB / 1.123 GB, free: 4.863 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004645/1.239, allocations: 111.4 kB / 1.123 GB, free: 4.754 MB / 0.573 GB Notification: Performance of SimCode: time 1.839e-06/1.239, allocations: 0 / 1.123 GB, free: 4.754 MB / 0.573 GB Notification: Performance of Templates: time 0.06697/1.306, allocations: 27.34 MB / 1.15 GB, free: 9.719 MB / 0.6042 GB