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.001469/0.001469, allocations: 112.8 kB / 16.42 MB, free: 6.457 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.001721/0.001721, allocations: 190.7 kB / 17.35 MB, free: 5.719 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002141/0.002141, allocations: 283.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9262/0.9262, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 87.86 kB / 0.6822 GB, free: 6.906 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3784, allocations: 86.98 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.Humidifier_u): time 1.276/1.654, allocations: 0.5825 GB / 1.35 GB, free: 59.01 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.044/1.698, allocations: 36.38 MB / 1.385 GB, free: 58.57 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008512/1.707, allocations: 277.3 kB / 1.385 GB, free: 58.56 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.009002/1.716, allocations: 4.258 MB / 1.39 GB, free: 58.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.02965/1.745, allocations: 13.92 MB / 1.403 GB, free: 57.87 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.011/1.756, allocations: 4.923 MB / 1.408 GB, free: 57.75 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.02321/1.78, allocations: 19.41 MB / 1.427 GB, free: 57.7 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008511/1.788, allocations: 6.513 MB / 1.433 GB, free: 56.14 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01555/1.804, allocations: 8.795 MB / 1.442 GB, free: 53.32 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01017/1.814, allocations: 6.114 MB / 1.448 GB, free: 50.46 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001369/1.815, allocations: 0.7474 MB / 1.449 GB, free: 50.46 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01995/1.835, allocations: 10.77 MB / 1.459 GB, free: 46.48 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.003174/1.839, allocations: 2.794 MB / 1.462 GB, free: 43.79 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.005984/1.845, allocations: 4.444 MB / 1.466 GB, free: 39.41 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.02016/1.865, allocations: 15.23 MB / 1.481 GB, free: 24.97 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/1.865, allocations: 0 / 1.481 GB, free: 24.97 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.823e-06/1.865, allocations: 0 / 1.481 GB, free: 24.97 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001436/1.865, allocations: 0 / 1.481 GB, free: 24.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.02008/1.885, allocations: 9.428 MB / 1.49 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/1.885, allocations: 8.031 kB / 1.49 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/1.896, allocations: 1.955 MB / 1.492 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007691/1.904, allocations: 5.271 MB / 1.497 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/1.904, allocations: 405.6 kB / 1.498 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007742/1.905, allocations: 0.5287 MB / 1.498 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009105/1.914, allocations: 5.78 MB / 1.504 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.429e-05/1.914, allocations: 7 kB / 1.504 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004567/1.914, allocations: 214.9 kB / 1.504 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001783/1.915, allocations: 262.2 kB / 1.504 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0102/1.925, allocations: 6.132 MB / 1.51 GB, free: 11.17 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.02844/1.953, allocations: 23.64 MB / 1.533 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006502/1.96, allocations: 5.044 MB / 1.538 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003583/1.963, allocations: 2.477 MB / 1.541 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004366/1.964, allocations: 268.7 kB / 1.541 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.038e-05/1.964, allocations: 81.72 kB / 1.541 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=401): time 5.65e-06/1.964, allocations: 0 / 1.541 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=413): time 0.02615/1.99, allocations: 13.25 MB / 1.554 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/1.99, allocations: 97.75 kB / 1.554 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00602/1.996, allocations: 4.058 MB / 1.558 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003839/1.997, allocations: 121.6 kB / 1.558 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001919/1.999, allocations: 2.677 MB / 1.561 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001256/2, allocations: 1.421 MB / 1.562 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001143/2.001, allocations: 0.7214 MB / 1.563 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.651e-05/2.001, allocations: 309.1 kB / 1.563 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003119/2.004, allocations: 1.877 MB / 1.565 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003708/2.008, allocations: 2.648 MB / 1.568 GB, free: 14.64 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.02827/2.036, allocations: 10 MB / 1.577 GB, free: 4.598 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/2.036, allocations: 4 kB / 1.577 GB, free: 4.594 MB / 1.014 GB Notification: Performance of matching and sorting (n=509) (initialization): time 0.01182/2.048, allocations: 5.661 MB / 1.583 GB, free: 14.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/2.048, allocations: 11.98 kB / 1.583 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/2.048, allocations: 11.98 kB / 1.583 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002774/2.051, allocations: 0.6405 MB / 1.584 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003777/2.055, allocations: 0.763 MB / 1.584 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008665/2.063, allocations: 12.68 MB / 1.597 GB, free: 116 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005401/2.069, allocations: 176 kB / 1.597 GB, free: 15.95 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000364/2.069, allocations: 140 kB / 1.597 GB, free: 15.81 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.005351/2.075, allocations: 3.037 MB / 1.6 GB, free: 12.77 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003732/2.078, allocations: 2.619 MB / 1.603 GB, free: 9.91 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.02611/2.104, allocations: 9.726 MB / 1.612 GB, free: 152 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.577e-06/2.104, allocations: 0 / 1.612 GB, free: 152 kB / 1.045 GB Notification: Performance of matching and sorting (n=509) (initialization_lambda0): time 0.009867/2.114, allocations: 5.433 MB / 1.617 GB, free: 10.72 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/2.114, allocations: 8 kB / 1.617 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/2.114, allocations: 4.375 kB / 1.617 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/2.116, allocations: 461.9 kB / 1.618 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003443/2.119, allocations: 0.745 MB / 1.619 GB, free: 9.477 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01455/2.134, allocations: 20.04 MB / 1.638 GB, free: 3.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005762/2.139, allocations: 218.1 kB / 1.638 GB, free: 3.613 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004903/2.14, allocations: 135 kB / 1.638 GB, free: 3.484 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.001031/2.141, allocations: 427.8 kB / 1.639 GB, free: 3.062 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001344/2.142, allocations: 0.5481 MB / 1.639 GB, free: 2.508 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009695/2.152, allocations: 5.228 MB / 1.644 GB, free: 13.21 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007382/2.159, allocations: 4.339 MB / 1.649 GB, free: 8.816 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/2.159, allocations: 7.938 kB / 1.649 GB, free: 8.809 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002304/2.162, allocations: 1.092 MB / 1.65 GB, free: 7.691 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009596/2.163, allocations: 79.94 kB / 1.65 GB, free: 7.613 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003918/2.167, allocations: 147.8 kB / 1.65 GB, free: 7.473 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005794/2.167, allocations: 286.8 kB / 1.65 GB, free: 7.191 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0116/2.179, allocations: 5.356 MB / 1.656 GB, free: 1.844 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01123/2.19, allocations: 7.266 MB / 1.663 GB, free: 10.54 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003102/2.193, allocations: 2.141 MB / 1.665 GB, free: 8.391 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.004228/2.197, allocations: 2.723 MB / 1.667 GB, free: 5.688 MB / 1.107 GB Notification: Performance of Backend: time 2.3e-07/2.197, allocations: 0 / 1.667 GB, free: 5.688 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01855/2.216, allocations: 9.718 MB / 1.677 GB, free: 11.95 MB / 1.123 GB Notification: Performance of SimCode: time 0.02589/2.242, allocations: 14.26 MB / 1.691 GB, free: 13.73 MB / 1.139 GB Notification: Performance of Templates: time 0.4966/2.739, allocations: 154.6 MB / 1.842 GB, free: 0.5205 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)