Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 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.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001103/0.001103, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.415/1.415, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4113/0.4113, allocations: 54.95 MB / 324.7 MB, free: 16 kB / 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.00173/0.00173, allocations: 75.89 kB / 395.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1497, allocations: 59.58 MB / 454.9 MB, free: 200 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.873/1.023, allocations: 274.8 MB / 0.7126 GB, free: 16.05 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02435/1.047, allocations: 17.59 MB / 0.7298 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003785/1.051, allocations: 65.44 kB / 0.7298 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003394/1.054, allocations: 1.225 MB / 0.731 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008936/1.063, allocations: 3.181 MB / 0.7341 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006196/1.07, allocations: 2.314 MB / 0.7364 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00696/1.077, allocations: 5.201 MB / 0.7415 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00286/1.079, allocations: 1.816 MB / 0.7432 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005597/1.085, allocations: 2.403 MB / 0.7456 GB, free: 7 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004001/1.089, allocations: 1.643 MB / 0.7472 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008062/1.09, allocations: 216 kB / 0.7474 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007114/1.097, allocations: 2.916 MB / 0.7502 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001346/1.098, allocations: 0.7847 MB / 0.751 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00331/1.102, allocations: 1.207 MB / 0.7522 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.009519/1.111, allocations: 4 MB / 0.7561 GB, free: 13.23 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/1.111, allocations: 4 kB / 0.7561 GB, free: 13.23 MB / 0.5138 GB Notification: Performance of FrontEnd: time 2.965e-06/1.111, allocations: 0 / 0.7561 GB, free: 13.23 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 0.0001522/1.111, allocations: 0 / 0.7561 GB, free: 13.23 MB / 0.5138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.008496/1.12, allocations: 2.642 MB / 0.7587 GB, free: 10.52 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/1.12, allocations: 11.97 kB / 0.7587 GB, free: 10.51 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005028/1.125, allocations: 0.6373 MB / 0.7593 GB, free: 9.875 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003443/1.129, allocations: 1.364 MB / 0.7606 GB, free: 8.52 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/1.129, allocations: 110.8 kB / 0.7607 GB, free: 8.41 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005417/1.129, allocations: 148 kB / 0.7609 GB, free: 8.266 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004567/1.134, allocations: 1.854 MB / 0.7627 GB, free: 6.352 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.774e-05/1.134, allocations: 2.125 kB / 0.7627 GB, free: 6.352 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002085/1.134, allocations: 63.52 kB / 0.7628 GB, free: 6.293 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.759e-05/1.134, allocations: 58.67 kB / 0.7628 GB, free: 6.234 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003458/1.138, allocations: 1.518 MB / 0.7643 GB, free: 4.723 MB / 0.5138 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.01144/1.149, allocations: 7.637 MB / 0.7718 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002124/1.151, allocations: 0.8618 MB / 0.7726 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005609/1.152, allocations: 370.2 kB / 0.773 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.404e-05/1.152, allocations: 19.28 kB / 0.773 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/1.152, allocations: 43.12 kB / 0.773 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007423/1.153, allocations: 133.5 kB / 0.7731 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=66): time 4.248e-06/1.153, allocations: 0 / 0.7731 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=66): time 0.003934/1.157, allocations: 1.321 MB / 0.7744 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/1.157, allocations: 85.67 kB / 0.7745 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002201/1.159, allocations: 1.443 MB / 0.7759 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001397/1.159, allocations: 45.7 kB / 0.776 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006761/1.16, allocations: 0.8138 MB / 0.7768 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002606/1.16, allocations: 242.1 kB / 0.777 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004379/1.161, allocations: 230.7 kB / 0.7772 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001418/1.161, allocations: 345.9 kB / 0.7775 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009645/1.162, allocations: 461.8 kB / 0.778 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/1.163, allocations: 0.7721 MB / 0.7787 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/1.165, allocations: 1.241 MB / 0.7799 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/1.165, allocations: 4 kB / 0.7799 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003066/1.168, allocations: 1.516 MB / 0.7814 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.65e-05/1.168, allocations: 130.3 kB / 0.7816 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/1.168, allocations: 12.06 kB / 0.7816 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.035e-05/1.168, allocations: 12.81 kB / 0.7816 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/1.169, allocations: 251.2 kB / 0.7818 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.149e-05/1.169, allocations: 22.36 kB / 0.7818 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/1.171, allocations: 88.39 kB / 0.7819 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/1.171, allocations: 47.98 kB / 0.782 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001285/1.173, allocations: 0.7562 MB / 0.7827 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008592/1.174, allocations: 0.7215 MB / 0.7834 GB, free: 288 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001463/1.175, allocations: 1.14 MB / 0.7845 GB, free: 15.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.194e-06/1.175, allocations: 4 kB / 0.7845 GB, free: 15.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization_lambda0): time 0.002324/1.177, allocations: 1.419 MB / 0.7859 GB, free: 13.63 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.877e-05/1.177, allocations: 122.8 kB / 0.786 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/1.178, allocations: 8 kB / 0.786 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/1.178, allocations: 15.98 kB / 0.7861 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008999/1.178, allocations: 219.2 kB / 0.7863 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.681e-05/1.178, allocations: 22.61 kB / 0.7863 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/1.18, allocations: 74.06 kB / 0.7864 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/1.18, allocations: 47.98 kB / 0.7864 GB, free: 13.13 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 4 (humBac.vol.i_w,humFor.vol.i_w,senMas2.i_x,senMas1.i_x) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 127 * Array equations: 2 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003381/1.181, allocations: 243.4 kB / 0.7866 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003738/1.181, allocations: 164.7 kB / 0.7868 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002085/1.183, allocations: 0.9434 MB / 0.7877 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/1.183, allocations: 8.625 kB / 0.7877 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.183, allocations: 0 / 0.7877 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001564/1.185, allocations: 0.912 MB / 0.7886 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003967/1.189, allocations: 2.303 MB / 0.7909 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/1.189, allocations: 7.625 kB / 0.7909 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000998/1.19, allocations: 194.2 kB / 0.7911 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/1.19, allocations: 8.094 kB / 0.7911 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.187e-05/1.19, allocations: 15.98 kB / 0.7911 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/1.19, allocations: 7 kB / 0.7911 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.19, allocations: 0 / 0.7911 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00283/1.193, allocations: 1.496 MB / 0.7925 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007235/1.193, allocations: 351.1 kB / 0.7929 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002969/1.194, allocations: 20 kB / 0.7929 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/1.195, allocations: 63.92 kB / 0.793 GB, free: 6.285 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/1.195, allocations: 44.44 kB / 0.793 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/1.195, allocations: 43.97 kB / 0.793 GB, free: 6.199 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001595/1.197, allocations: 0.9689 MB / 0.794 GB, free: 5.234 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/1.197, allocations: 0 / 0.794 GB, free: 5.234 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002563/1.199, allocations: 0.8925 MB / 0.7949 GB, free: 4.34 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (70): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006609/1.2, allocations: 259.6 kB / 0.7951 GB, free: 4.109 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003778/1.204, allocations: 2.137 MB / 0.7972 GB, free: 1.945 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.204, allocations: 6.438 kB / 0.7972 GB, free: 1.941 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007891/1.205, allocations: 408.7 kB / 0.7976 GB, free: 1.551 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004081/1.209, allocations: 0.9053 MB / 0.7985 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005824/1.215, allocations: 3.048 MB / 0.8015 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/1.216, allocations: 1.372 MB / 0.8028 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002201/1.218, allocations: 435.7 kB / 0.8032 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004125/1.219, allocations: 115.4 kB / 0.8033 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of SimCode: time 2.525e-06/1.219, allocations: 0 / 0.8033 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of Templates: time 0.05652/1.275, allocations: 32.95 MB / 0.8355 GB, free: 11.11 MB / 0.5919 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)