Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic") translateModel(IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.00127/0.00127, 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.001378/0.001377, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.378/1.378, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9862/0.9862, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 59.53 kB / 0.5053 GB, free: 5.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1875, allocations: 80.93 MB / 0.5844 GB, free: 4.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.6045/0.792, allocations: 199 MB / 0.7787 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006906/0.799, allocations: 3.734 MB / 0.7823 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009515/0.7999, allocations: 27.81 kB / 0.7823 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.8012, allocations: 441.5 kB / 0.7827 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004042/0.8053, allocations: 1.249 MB / 0.784 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002347/0.8077, allocations: 0.7477 MB / 0.7847 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002358/0.81, allocations: 1.348 MB / 0.786 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009271/0.811, allocations: 0.4908 MB / 0.7865 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002904/0.8139, allocations: 0.9749 MB / 0.7874 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006681/0.8146, allocations: 466.1 kB / 0.7879 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.474e-05/0.8147, allocations: 44 kB / 0.7879 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002514/0.8172, allocations: 1.193 MB / 0.7891 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002311/0.8174, allocations: 195.4 kB / 0.7893 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003704/0.8178, allocations: 330.2 kB / 0.7896 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001942/0.8198, allocations: 1.196 MB / 0.7908 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.8198, allocations: 0 / 0.7908 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8198, allocations: 0 / 0.7908 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.8198, allocations: 0 / 0.7908 GB, free: 9.652 MB / 0.6075 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.002226/0.822, allocations: 1.063 MB / 0.7918 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.8221, allocations: 8.031 kB / 0.7918 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.8234, allocations: 219 kB / 0.792 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008397/0.8243, allocations: 0.5342 MB / 0.7925 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.214e-05/0.8243, allocations: 33 kB / 0.7926 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.435e-05/0.8244, allocations: 40 kB / 0.7926 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.8256, allocations: 0.5474 MB / 0.7931 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.8256, allocations: 0 / 0.7931 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.828e-05/0.8256, allocations: 19.98 kB / 0.7932 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.132e-05/0.8257, allocations: 21 kB / 0.7932 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.8269, allocations: 0.4957 MB / 0.7937 GB, free: 6.574 MB / 0.6075 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.003219/0.8301, allocations: 2.234 MB / 0.7959 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007064/0.8308, allocations: 360.5 kB / 0.7962 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.8311, allocations: 154.8 kB / 0.7963 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001457/0.8325, allocations: 0.8416 MB / 0.7972 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003884/0.8329, allocations: 193.6 kB / 0.7973 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=28): time 2.815e-06/0.833, allocations: 0 / 0.7973 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28): time 0.001102/0.8341, allocations: 461.8 kB / 0.7978 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.8341, allocations: 85.11 kB / 0.7979 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008762/0.835, allocations: 0.6524 MB / 0.7985 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/0.8351, allocations: 33.7 kB / 0.7985 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002484/0.8353, allocations: 319.8 kB / 0.7988 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.532e-05/0.8354, allocations: 94.66 kB / 0.7989 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.8356, allocations: 90.02 kB / 0.799 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.8357, allocations: 370.8 kB / 0.7994 GB, free: 296 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.8361, allocations: 146.5 kB / 0.7995 GB, free: 148 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004801/0.8366, allocations: 302.3 kB / 0.7998 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006634/0.8373, allocations: 408.6 kB / 0.8002 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.8373, allocations: 0 / 0.8002 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00102/0.8383, allocations: 496.6 kB / 0.8007 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.8383, allocations: 8 kB / 0.8007 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.8384, allocations: 6.938 kB / 0.8007 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.8384, allocations: 4.375 kB / 0.8007 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/0.8388, allocations: 103.8 kB / 0.8008 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.8388, allocations: 4 kB / 0.8008 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006124/0.8395, allocations: 87.47 kB / 0.8009 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/0.8395, allocations: 16 kB / 0.8009 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005476/0.8401, allocations: 304.4 kB / 0.8012 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004553/0.8405, allocations: 298.2 kB / 0.8015 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00064/0.8412, allocations: 407.1 kB / 0.8018 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.296e-06/0.8412, allocations: 3.938 kB / 0.8019 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.000985/0.8422, allocations: 493.5 kB / 0.8023 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.8422, allocations: 8 kB / 0.8023 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.8422, allocations: 5.172 kB / 0.8023 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.464e-06/0.8422, allocations: 8.344 kB / 0.8023 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/0.8426, allocations: 91.89 kB / 0.8024 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.8427, allocations: 15.92 kB / 0.8024 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005807/0.8432, allocations: 67.67 kB / 0.8025 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.8433, allocations: 20 kB / 0.8025 GB, free: 12.8 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (47): * Single equations (assignments): 47 * 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.0001633/0.8435, allocations: 208.1 kB / 0.8027 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-05/0.8436, allocations: 63.16 kB / 0.8028 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006561/0.8442, allocations: 340.2 kB / 0.8031 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.8442, allocations: 4 kB / 0.8031 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.8442, allocations: 0 / 0.8031 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.8443, allocations: 4 kB / 0.8031 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.8458, allocations: 1.116 MB / 0.8042 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.8458, allocations: 4 kB / 0.8042 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.846, allocations: 47.86 kB / 0.8043 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.846, allocations: 4 kB / 0.8043 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.8461, allocations: 12.31 kB / 0.8043 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.8461, allocations: 8 kB / 0.8043 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.8461, allocations: 0 / 0.8043 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008399/0.8469, allocations: 0.6297 MB / 0.8049 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.8471, allocations: 160.3 kB / 0.8051 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.5e-05/0.8472, allocations: 11.98 kB / 0.8051 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003385/0.8476, allocations: 24.05 kB / 0.8051 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/0.8476, allocations: 23.86 kB / 0.8051 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.8477, allocations: 15.98 kB / 0.8051 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006525/0.8483, allocations: 479 kB / 0.8056 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8483, allocations: 0 / 0.8056 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008809/0.8492, allocations: 275.5 kB / 0.8058 GB, free: 9.242 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (hum.outCon.T,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 (27): * Single equations (assignments): 25 * 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.00121/0.8504, allocations: 0.5064 MB / 0.8063 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001248/0.8517, allocations: 0.543 MB / 0.8069 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.8517, allocations: 0.5 kB / 0.8069 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.852, allocations: 135.8 kB / 0.807 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.8534, allocations: 277.8 kB / 0.8073 GB, free: 8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.8554, allocations: 1.179 MB / 0.8084 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.8559, allocations: 0.8978 MB / 0.8093 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007221/0.8566, allocations: 169 kB / 0.8095 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.8567, allocations: 47.42 kB / 0.8095 GB, free: 5.633 MB / 0.6231 GB Notification: Performance of SimCode: time 7.12e-07/0.8567, allocations: 0 / 0.8095 GB, free: 5.633 MB / 0.6231 GB Notification: Performance of Templates: time 0.01929/0.876, allocations: 10.65 MB / 0.8199 GB, free: 11.13 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & ./IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)