Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.MassExchangers.Examples.Humidifier_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u") translateModel(Annex60.Fluid.MassExchangers.Examples.Humidifier_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007909/0.0007908, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005066/0.005066, allocations: 171.7 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.4 MB / 222.4 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4037/0.4037, allocations: 55.02 MB / 325.7 MB, free: 0.5977 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005637/0.0005637, allocations: 19.94 kB / 397.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3568, allocations: 60.72 MB / 458 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.MassExchangers.Examples.Humidifier_u): time 0.6288/0.9857, allocations: 250.4 MB / 0.6918 GB, free: 16.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01738/1.003, allocations: 9.717 MB / 0.7012 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003755/1.007, allocations: 67.06 kB / 0.7013 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003314/1.01, allocations: 0.894 MB / 0.7022 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01088/1.021, allocations: 2.459 MB / 0.7046 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00814/1.029, allocations: 2.032 MB / 0.7066 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0114/1.041, allocations: 6.013 MB / 0.7124 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003775/1.045, allocations: 1.464 MB / 0.7139 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005663/1.05, allocations: 1.618 MB / 0.7154 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005183/1.056, allocations: 1.406 MB / 0.7168 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009638/1.057, allocations: 69.03 kB / 0.7169 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008676/1.065, allocations: 3.129 MB / 0.7199 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001609/1.067, allocations: 0.5428 MB / 0.7205 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.003067/1.07, allocations: 1.002 MB / 0.7214 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.009168/1.079, allocations: 3.826 MB / 0.7252 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/1.079, allocations: 0 / 0.7252 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.715e-06/1.079, allocations: 3.938 kB / 0.7252 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001456/1.079, allocations: 1.125 kB / 0.7252 GB, free: 11.8 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.005739/1.085, allocations: 2.3 MB / 0.7274 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/1.085, allocations: 13.27 kB / 0.7274 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004038/1.089, allocations: 0.624 MB / 0.7281 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003768/1.093, allocations: 1.437 MB / 0.7295 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004279/1.093, allocations: 173.8 kB / 0.7296 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005065/1.094, allocations: 145.3 kB / 0.7298 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004612/1.099, allocations: 1.734 MB / 0.7315 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.914e-05/1.099, allocations: 2.531 kB / 0.7315 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002229/1.099, allocations: 58.88 kB / 0.7315 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-05/1.099, allocations: 55.91 kB / 0.7316 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003755/1.103, allocations: 1.45 MB / 0.733 GB, free: 7.934 MB / 0.4981 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.01074/1.114, allocations: 6.341 MB / 0.7392 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002411/1.116, allocations: 1.116 MB / 0.7403 GB, free: 240 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/1.117, allocations: 0.5014 MB / 0.7408 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004167/1.117, allocations: 144.5 kB / 0.7409 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002019/1.12, allocations: 0.7921 MB / 0.7417 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=80): time 4.288e-06/1.12, allocations: 0 / 0.7417 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=80): time 0.006803/1.126, allocations: 2.033 MB / 0.7437 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002415/1.127, allocations: 379.1 kB / 0.744 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00312/1.13, allocations: 1.509 MB / 0.7455 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000222/1.13, allocations: 49.45 kB / 0.7455 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009254/1.131, allocations: 0.8326 MB / 0.7463 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000347/1.131, allocations: 286.6 kB / 0.7466 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/1.132, allocations: 93.67 kB / 0.7467 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.132, allocations: 349.9 kB / 0.747 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/1.133, allocations: 0.4984 MB / 0.7475 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/1.135, allocations: 0.8301 MB / 0.7483 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002738/1.137, allocations: 1.305 MB / 0.7496 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/1.137, allocations: 7.938 kB / 0.7496 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.005462/1.143, allocations: 1.87 MB / 0.7515 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003535/1.143, allocations: 353.1 kB / 0.7518 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.563e-05/1.143, allocations: 8 kB / 0.7518 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000552/1.144, allocations: 132.8 kB / 0.7519 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/1.145, allocations: 233.7 kB / 0.7521 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005345/1.15, allocations: 2.404 MB / 0.7545 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002587/1.153, allocations: 243.3 kB / 0.7547 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002147/1.153, allocations: 47.98 kB / 0.7548 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/1.153, allocations: 4 kB / 0.7548 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003175/1.156, allocations: 1.405 MB / 0.7561 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/1.156, allocations: 7.938 kB / 0.7562 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/1.156, allocations: 48.83 kB / 0.7562 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009811/1.157, allocations: 227.6 kB / 0.7564 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/1.159, allocations: 1.599 MB / 0.758 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/1.161, allocations: 214.8 kB / 0.7582 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/1.161, allocations: 47.92 kB / 0.7582 GB, free: 13.12 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 11 (humSte.vol.i_w,humDyn.vol.i_w,TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 117 * Array equations: 2 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001257/1.163, allocations: 0.5315 MB / 0.7587 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006665/1.163, allocations: 177.9 kB / 0.7589 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004081/1.167, allocations: 1.419 MB / 0.7603 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/1.167, allocations: 12.03 kB / 0.7603 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.167, allocations: 0 / 0.7603 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003247/1.171, allocations: 1.297 MB / 0.7616 GB, free: 9.633 MB / 0.5294 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 postOpt removeSimpleEquations (simulation): time 0.007335/1.178, allocations: 3.206 MB / 0.7647 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/1.178, allocations: 4 kB / 0.7647 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009125/1.179, allocations: 173.7 kB / 0.7649 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004001/1.179, allocations: 128.8 kB / 0.765 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.133e-05/1.179, allocations: 26.88 kB / 0.765 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003971/1.183, allocations: 2.183 MB / 0.7672 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.183, allocations: 0 / 0.7672 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005392/1.189, allocations: 2.117 MB / 0.7692 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/1.19, allocations: 378.7 kB / 0.7696 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005481/1.191, allocations: 16 kB / 0.7696 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/1.192, allocations: 135.8 kB / 0.7697 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/1.193, allocations: 52.52 kB / 0.7698 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/1.193, allocations: 30.89 kB / 0.7698 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00219/1.195, allocations: 1.027 MB / 0.7708 GB, free: 15.94 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.41e-07/1.195, allocations: 0 / 0.7708 GB, free: 15.94 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003779/1.199, allocations: 0.8925 MB / 0.7717 GB, free: 15.05 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.U,humDyn.vol.dynBal.mXi[1],senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007758/1.199, allocations: 266.4 kB / 0.7719 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005007/1.204, allocations: 2.457 MB / 0.7743 GB, free: 12.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/1.204, allocations: 0 / 0.7743 GB, free: 12.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001385/1.206, allocations: 0.7202 MB / 0.775 GB, free: 11.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005364/1.211, allocations: 0.8757 MB / 0.7759 GB, free: 10.71 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009729/1.221, allocations: 4.177 MB / 0.78 GB, free: 6.508 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001658/1.223, allocations: 1.376 MB / 0.7813 GB, free: 5.105 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002605/1.225, allocations: 376.8 kB / 0.7817 GB, free: 4.734 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005002/1.226, allocations: 123.4 kB / 0.7818 GB, free: 4.613 MB / 0.545 GB Notification: Performance of SimCode: time 1.443e-06/1.226, allocations: 0 / 0.7818 GB, free: 4.613 MB / 0.545 GB Notification: Performance of Templates: time 0.06179/1.288, allocations: 33.06 MB / 0.8141 GB, free: 3.875 MB / 0.5762 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.sim & ./Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.pipe 2>&1) Environment - environmentSimulation: