Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Interfaces.Examples.Humidifier_u,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.Humidifier_u") translateModel(BuildingSystems.Fluid.Interfaces.Examples.Humidifier_u,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.Humidifier_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001221, allocations: 120 kB / 16.42 MB, free: 6.496 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.001262/0.001262, allocations: 183.9 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002098/0.002098, allocations: 287.6 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9308/0.9308, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 91.86 kB / 0.6822 GB, free: 6.918 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3706, allocations: 86.99 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.Humidifier_u): time 1.294/1.664, allocations: 0.5825 GB / 1.35 GB, free: 59 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.04368/1.708, allocations: 36.37 MB / 1.385 GB, free: 58.56 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00852/1.717, allocations: 271.9 kB / 1.385 GB, free: 58.56 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.009218/1.726, allocations: 4.446 MB / 1.39 GB, free: 58.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.02994/1.756, allocations: 14.49 MB / 1.404 GB, free: 57.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.01065/1.767, allocations: 4.932 MB / 1.409 GB, free: 57.74 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.02099/1.788, allocations: 19.45 MB / 1.428 GB, free: 57.7 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01002/1.798, allocations: 6.515 MB / 1.434 GB, free: 56.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01631/1.814, allocations: 8.947 MB / 1.443 GB, free: 52.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01019/1.824, allocations: 6.106 MB / 1.449 GB, free: 49.91 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.002132/1.826, allocations: 0.7487 MB / 1.45 GB, free: 49.91 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01979/1.846, allocations: 10.79 MB / 1.46 GB, free: 45.48 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.003121/1.849, allocations: 2.804 MB / 1.463 GB, free: 42.78 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.007297/1.857, allocations: 4.443 MB / 1.467 GB, free: 38.41 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.02335/1.88, allocations: 15.22 MB / 1.482 GB, free: 23.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.88, allocations: 4 kB / 1.482 GB, free: 23.97 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.753e-06/1.88, allocations: 0 / 1.482 GB, free: 23.97 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001695/1.88, allocations: 0 / 1.482 GB, free: 23.97 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1309 * Number of variables: 1309 Notification: Performance of Generate backend data structure: time 0.02107/1.901, allocations: 9.437 MB / 1.491 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/1.901, allocations: 8.031 kB / 1.491 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/1.912, allocations: 1.954 MB / 1.493 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007791/1.92, allocations: 5.262 MB / 1.498 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/1.92, allocations: 409 kB / 1.499 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006584/1.921, allocations: 0.531 MB / 1.499 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008809/1.93, allocations: 5.778 MB / 1.505 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.551e-05/1.93, allocations: 7.906 kB / 1.505 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004616/1.93, allocations: 215.8 kB / 1.505 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001719/1.93, allocations: 254.2 kB / 1.505 GB, free: 324 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01059/1.941, allocations: 6.144 MB / 1.511 GB, free: 10.16 MB / 0.9512 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.03052/1.972, allocations: 23.64 MB / 1.534 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006565/1.978, allocations: 5.05 MB / 1.539 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003618/1.982, allocations: 2.477 MB / 1.542 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000441/1.982, allocations: 265.1 kB / 1.542 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.885e-05/1.982, allocations: 81.72 kB / 1.542 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=401): time 7.925e-06/1.982, allocations: 0 / 1.542 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=413): time 0.02562/2.008, allocations: 13.24 MB / 1.555 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/2.008, allocations: 94.66 kB / 1.555 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005902/2.014, allocations: 4.062 MB / 1.559 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000377/2.014, allocations: 123.3 kB / 1.559 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002011/2.016, allocations: 2.668 MB / 1.562 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00129/2.018, allocations: 1.433 MB / 1.563 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/2.019, allocations: 0.7171 MB / 1.564 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.46e-05/2.019, allocations: 301.1 kB / 1.564 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003325/2.022, allocations: 1.884 MB / 1.566 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004279/2.027, allocations: 2.643 MB / 1.569 GB, free: 13.63 MB / 1.014 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.02845/2.055, allocations: 10.01 MB / 1.578 GB, free: 3.586 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/2.055, allocations: 0 / 1.578 GB, free: 3.586 MB / 1.014 GB Notification: Performance of matching and sorting (n=509) (initialization): time 0.01142/2.066, allocations: 5.667 MB / 1.584 GB, free: 13.94 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/2.067, allocations: 12.03 kB / 1.584 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.267e-05/2.067, allocations: 15.98 kB / 1.584 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002678/2.069, allocations: 0.6333 MB / 1.585 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003668/2.073, allocations: 0.7668 MB / 1.585 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008849/2.082, allocations: 12.69 MB / 1.598 GB, free: 15.1 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0053/2.087, allocations: 181.2 kB / 1.598 GB, free: 14.93 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003892/2.088, allocations: 136 kB / 1.598 GB, free: 14.8 MB / 1.045 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: hea1.vol.dynBal.medium.p = hea1.vol.dynBal.p_start hea3.vol.dynBal.medium.p = hea3.vol.dynBal.p_start hea5.vol.dynBal.medium.p = hea5.vol.dynBal.p_start hea7.vol.dynBal.medium.p = hea7.vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005674/2.093, allocations: 3.028 MB / 1.601 GB, free: 11.77 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003918/2.097, allocations: 2.629 MB / 1.604 GB, free: 8.895 MB / 1.045 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02621/2.123, allocations: 9.718 MB / 1.613 GB, free: 15.14 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.959e-06/2.123, allocations: 0 / 1.613 GB, free: 15.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=509) (initialization_lambda0): time 0.01025/2.134, allocations: 5.437 MB / 1.618 GB, free: 9.719 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/2.134, allocations: 11.98 kB / 1.618 GB, free: 9.707 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/2.134, allocations: 8 kB / 1.618 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/2.135, allocations: 458.8 kB / 1.619 GB, free: 9.219 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003458/2.138, allocations: 0.7407 MB / 1.619 GB, free: 8.496 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01544/2.154, allocations: 20.04 MB / 1.639 GB, free: 2.836 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005964/2.16, allocations: 215.4 kB / 1.639 GB, free: 2.633 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006274/2.16, allocations: 132 kB / 1.639 GB, free: 2.504 MB / 1.076 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization_lambda0 system: hea1.vol.dynBal.medium.p = hea1.vol.dynBal.p_start hea3.vol.dynBal.medium.p = hea3.vol.dynBal.p_start hea5.vol.dynBal.medium.p = hea5.vol.dynBal.p_start hea7.vol.dynBal.medium.p = hea7.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (461): * Single equations (assignments): 439 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 8 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001248/2.162, allocations: 429.6 kB / 1.64 GB, free: 2.078 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001525/2.163, allocations: 0.552 MB / 1.64 GB, free: 1.52 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/2.174, allocations: 5.225 MB / 1.645 GB, free: 12.23 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007481/2.181, allocations: 4.338 MB / 1.65 GB, free: 7.836 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/2.181, allocations: 7.938 kB / 1.65 GB, free: 7.828 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002885/2.184, allocations: 1.092 MB / 1.651 GB, free: 6.711 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001069/2.185, allocations: 83.98 kB / 1.651 GB, free: 6.629 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003975/2.189, allocations: 137.9 kB / 1.651 GB, free: 6.5 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005741/2.19, allocations: 286.8 kB / 1.651 GB, free: 6.219 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01153/2.201, allocations: 5.36 MB / 1.656 GB, free: 0.8672 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01133/2.213, allocations: 7.266 MB / 1.664 GB, free: 9.559 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003038/2.216, allocations: 2.141 MB / 1.666 GB, free: 7.41 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.004625/2.22, allocations: 2.719 MB / 1.668 GB, free: 4.711 MB / 1.107 GB Notification: Performance of Backend: time 4.71e-07/2.22, allocations: 0 / 1.668 GB, free: 4.711 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01943/2.24, allocations: 9.72 MB / 1.678 GB, free: 10.97 MB / 1.123 GB Notification: Performance of SimCode: time 0.02569/2.265, allocations: 14.26 MB / 1.692 GB, free: 12.75 MB / 1.139 GB Notification: Performance of Templates: time 0.4884/2.754, allocations: 154.7 MB / 1.843 GB, free: 0.5147 GB / 1.17 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.Humidifier_u.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.Humidifier_u.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.Humidifier_u.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.Humidifier_u.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.Humidifier_u.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.Humidifier_u.pipe 2>&1)