Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic") translateModel(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 102.9 kB / 16.37 MB, free: 6.465 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.001311/0.001311, allocations: 192.5 kB / 17.31 MB, free: 5.82 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.372/1.372, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.806/1.806, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 70.88 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2312, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.6411/0.8724, allocations: 199 MB / 0.9791 GB, free: 2.961 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.006756/0.8792, allocations: 3.617 MB / 0.9826 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009633/0.8802, allocations: 27.81 kB / 0.9827 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.8816, allocations: 429.6 kB / 0.9831 GB, free: 14.89 MB / 0.7794 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.003651/0.8853, allocations: 1.237 MB / 0.9843 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002327/0.8877, allocations: 0.7397 MB / 0.985 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002212/0.8899, allocations: 1.352 MB / 0.9863 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.8909, allocations: 0.4947 MB / 0.9868 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003121/0.894, allocations: 0.9785 MB / 0.9878 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009935/0.895, allocations: 458.1 kB / 0.9882 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001645/0.8952, allocations: 44 kB / 0.9883 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.8977, allocations: 1.189 MB / 0.9894 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003241/0.8981, allocations: 203.4 kB / 0.9896 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00059/0.8987, allocations: 330.2 kB / 0.9899 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00264/0.9013, allocations: 1.211 MB / 0.9911 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.9013, allocations: 4 kB / 0.9911 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9013, allocations: 4 kB / 0.9911 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.011e-05/0.9014, allocations: 0 / 0.9911 GB, free: 6.66 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.002458/0.9038, allocations: 1.054 MB / 0.9921 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.9039, allocations: 8.031 kB / 0.9921 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/0.9052, allocations: 223.5 kB / 0.9924 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.9063, allocations: 0.5732 MB / 0.9929 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.932e-05/0.9064, allocations: 29 kB / 0.993 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.517e-05/0.9065, allocations: 40 kB / 0.993 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.9076, allocations: 0.5426 MB / 0.9935 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.9077, allocations: 0 / 0.9935 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/0.9077, allocations: 20.55 kB / 0.9935 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.059e-05/0.9077, allocations: 21 kB / 0.9936 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.9089, allocations: 0.5074 MB / 0.9941 GB, free: 3.535 MB / 0.7794 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.003658/0.9126, allocations: 2.246 MB / 0.9962 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007701/0.9134, allocations: 352.9 kB / 0.9966 GB, free: 0.7344 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.9136, allocations: 153.2 kB / 0.9967 GB, free: 0.582 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00134/0.915, allocations: 0.8377 MB / 0.9975 GB, free: 15.58 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003374/0.9153, allocations: 200.3 kB / 0.9977 GB, free: 15.37 MB / 0.795 GB Notification: Performance of pre-optimization done (n=27): time 1.733e-06/0.9153, allocations: 0 / 0.9977 GB, free: 15.37 MB / 0.795 GB Notification: Performance of matching and sorting (n=27): time 0.001088/0.9164, allocations: 454 kB / 0.9982 GB, free: 14.92 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.9165, allocations: 85.09 kB / 0.9983 GB, free: 14.82 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000942/0.9175, allocations: 0.6525 MB / 0.9989 GB, free: 14.16 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.9175, allocations: 33.7 kB / 0.9989 GB, free: 14.12 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/0.9178, allocations: 315.8 kB / 0.9992 GB, free: 13.81 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.63e-05/0.9179, allocations: 94.64 kB / 0.9993 GB, free: 13.71 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.918, allocations: 91.27 kB / 0.9994 GB, free: 13.62 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.9182, allocations: 370.8 kB / 0.9998 GB, free: 13.25 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.9186, allocations: 142.3 kB / 0.9999 GB, free: 13.11 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004813/0.9191, allocations: 294.2 kB / 1 GB, free: 12.76 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006637/0.9198, allocations: 390.3 kB / 1.001 GB, free: 12.33 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.9198, allocations: 0 / 1.001 GB, free: 12.33 MB / 0.795 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001049/0.9208, allocations: 484.6 kB / 1.001 GB, free: 11.85 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.9209, allocations: 8 kB / 1.001 GB, free: 11.84 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.9209, allocations: 4 kB / 1.001 GB, free: 11.84 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.9209, allocations: 8.281 kB / 1.001 GB, free: 11.83 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004246/0.9214, allocations: 87.83 kB / 1.001 GB, free: 11.75 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.9214, allocations: 12.12 kB / 1.001 GB, free: 11.73 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006058/0.922, allocations: 79.39 kB / 1.001 GB, free: 11.66 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.922, allocations: 19.98 kB / 1.001 GB, free: 11.64 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005251/0.9226, allocations: 307.7 kB / 1.002 GB, free: 11.33 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004859/0.9231, allocations: 285.8 kB / 1.002 GB, free: 10.99 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006426/0.9237, allocations: 391.9 kB / 1.002 GB, free: 10.56 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.156e-06/0.9237, allocations: 0 / 1.002 GB, free: 10.56 MB / 0.795 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001039/0.9248, allocations: 491.1 kB / 1.003 GB, free: 10.07 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.9248, allocations: 5.25 kB / 1.003 GB, free: 10.07 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.9248, allocations: 7.938 kB / 1.003 GB, free: 10.06 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.9248, allocations: 8 kB / 1.003 GB, free: 10.05 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/0.9252, allocations: 87.83 kB / 1.003 GB, free: 9.969 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.9253, allocations: 8 kB / 1.003 GB, free: 9.961 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005851/0.9259, allocations: 75.69 kB / 1.003 GB, free: 9.887 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.9259, allocations: 16 kB / 1.003 GB, free: 9.871 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.XSet.nextTimeEvent,$whenCondition1,XSet.nextTimeEventScaled,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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 prepare postOptimizeDAE: time 0.0001747/0.9261, allocations: 208.6 kB / 1.003 GB, free: 9.66 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.27e-05/0.9262, allocations: 63.25 kB / 1.003 GB, free: 9.598 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006498/0.9268, allocations: 332.6 kB / 1.003 GB, free: 9.266 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.9269, allocations: 0 / 1.003 GB, free: 9.266 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.9269, allocations: 4 kB / 1.003 GB, free: 9.262 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/0.9269, allocations: 7.922 kB / 1.003 GB, free: 9.254 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.9285, allocations: 1.104 MB / 1.004 GB, free: 8.062 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.9286, allocations: 320 / 1.004 GB, free: 8.062 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.9288, allocations: 43.92 kB / 1.005 GB, free: 8.02 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.964e-06/0.9288, allocations: 4 kB / 1.005 GB, free: 8.016 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.9288, allocations: 11.98 kB / 1.005 GB, free: 8.004 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.9288, allocations: 7.938 kB / 1.005 GB, free: 7.996 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.9288, allocations: 7.938 kB / 1.005 GB, free: 7.988 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008697/0.9297, allocations: 0.6016 MB / 1.005 GB, free: 7.34 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/0.9299, allocations: 160.4 kB / 1.005 GB, free: 7.164 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.712e-05/0.93, allocations: 23.86 kB / 1.005 GB, free: 7.141 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000339/0.9304, allocations: 15.98 kB / 1.005 GB, free: 7.125 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.9305, allocations: 16.08 kB / 1.005 GB, free: 7.109 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.9305, allocations: 19.98 kB / 1.005 GB, free: 7.09 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006853/0.9312, allocations: 475 kB / 1.006 GB, free: 6.629 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.3e-07/0.9312, allocations: 4 kB / 1.006 GB, free: 6.625 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008878/0.9321, allocations: 267.6 kB / 1.006 GB, free: 6.363 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (hum.outCon.Xi) * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00129/0.9334, allocations: 0.5154 MB / 1.007 GB, free: 6.059 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001227/0.9346, allocations: 0.5253 MB / 1.007 GB, free: 5.535 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.9346, allocations: 0 / 1.007 GB, free: 5.535 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.9349, allocations: 131.8 kB / 1.007 GB, free: 5.406 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.9362, allocations: 286.7 kB / 1.007 GB, free: 5.156 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.9382, allocations: 1.145 MB / 1.009 GB, free: 3.949 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000538/0.9388, allocations: 0.8939 MB / 1.009 GB, free: 3.027 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.939, allocations: 55.42 kB / 1.01 GB, free: 2.973 MB / 0.795 GB Notification: Performance of SimCode: time 5.71e-07/0.939, allocations: 0 / 1.01 GB, free: 2.973 MB / 0.795 GB Notification: Performance of Templates: time 0.01612/0.9551, allocations: 9.978 MB / 1.019 GB, free: 9.176 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.makefile (rm -f Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & ./Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)