Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="IDEAS_IDEAS_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="IDEAS_IDEAS_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009692/0.0009691, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005899/0.005899, allocations: 172.6 kB / 16.27 MB, free: 6.648 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.283/1.283, allocations: 223.3 MB / 240.3 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7806/0.7806, allocations: 132.3 MB / 423.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003193, allocations: 8 kB / 0.5041 GB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4063, allocations: 81.58 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.1942/0.6006, allocations: 194.2 MB / 0.7734 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005847/0.6065, allocations: 3.734 MB / 0.777 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005188/0.6071, allocations: 23.81 kB / 0.777 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009887/0.6081, allocations: 374.2 kB / 0.7774 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002502/0.6106, allocations: 1.167 MB / 0.7785 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.6122, allocations: 0.668 MB / 0.7792 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001714/0.6139, allocations: 1.836 MB / 0.781 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005588/0.6145, allocations: 419.1 kB / 0.7814 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00205/0.6165, allocations: 0.8924 MB / 0.7822 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005286/0.6171, allocations: 462.1 kB / 0.7827 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.194e-05/0.6171, allocations: 31.94 kB / 0.7827 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001833/0.619, allocations: 1.317 MB / 0.784 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.6191, allocations: 175.4 kB / 0.7842 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002775/0.6194, allocations: 324 kB / 0.7845 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.6207, allocations: 1.219 MB / 0.7857 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.6207, allocations: 0 / 0.7857 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6207, allocations: 0 / 0.7857 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.6207, allocations: 4 kB / 0.7857 GB, free: 0.9297 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.001791/0.6225, allocations: 0.939 MB / 0.7866 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.6226, allocations: 8.031 kB / 0.7866 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.502e-05/0.6227, allocations: 78.47 kB / 0.7867 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.6239, allocations: 231 kB / 0.7869 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007067/0.6247, allocations: 0.542 MB / 0.7874 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.6247, allocations: 33 kB / 0.7875 GB, free: 15 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-05/0.6248, allocations: 40 kB / 0.7875 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009947/0.6258, allocations: 0.5512 MB / 0.788 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.6258, allocations: 0 / 0.788 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.962e-05/0.6259, allocations: 27.97 kB / 0.7881 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-05/0.6259, allocations: 17 kB / 0.7881 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.627, allocations: 0.5035 MB / 0.7886 GB, free: 13.85 MB / 0.6231 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.002846/0.6299, allocations: 2.23 MB / 0.7907 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006336/0.6305, allocations: 371.8 kB / 0.7911 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.6308, allocations: 144.8 kB / 0.7912 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001311/0.6321, allocations: 0.865 MB / 0.7921 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003049/0.6324, allocations: 199.1 kB / 0.7923 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=28): time 1.513e-06/0.6324, allocations: 0 / 0.7923 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28): time 0.0009425/0.6334, allocations: 456.7 kB / 0.7927 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.6334, allocations: 85.11 kB / 0.7928 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008077/0.6342, allocations: 0.6524 MB / 0.7934 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.6343, allocations: 29.7 kB / 0.7935 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.6345, allocations: 319.8 kB / 0.7938 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.974e-05/0.6346, allocations: 102.6 kB / 0.7939 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/0.6347, allocations: 45.64 kB / 0.7939 GB, free: 7.945 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.6348, allocations: 366.8 kB / 0.7943 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/0.6352, allocations: 144.7 kB / 0.7944 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/0.6357, allocations: 302.2 kB / 0.7947 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000636/0.6363, allocations: 396.6 kB / 0.7951 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.6363, allocations: 0 / 0.7951 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009724/0.6373, allocations: 0.4895 MB / 0.7955 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.000112/0.6374, allocations: 210.2 kB / 0.7957 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.6374, allocations: 7.938 kB / 0.7957 GB, free: 5.867 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.6375, allocations: 8 kB / 0.7958 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/0.6379, allocations: 91.89 kB / 0.7958 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.6379, allocations: 15.92 kB / 0.7959 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006174/0.6385, allocations: 91.42 kB / 0.7959 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.811e-05/0.6386, allocations: 16 kB / 0.796 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.162e-06/0.6386, allocations: 4 kB / 0.796 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008811/0.6395, allocations: 419.7 kB / 0.7964 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.6395, allocations: 4 kB / 0.7964 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.35e-06/0.6395, allocations: 4 kB / 0.7964 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004106/0.6399, allocations: 91.83 kB / 0.7965 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.6399, allocations: 4 kB / 0.7965 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004797/0.6404, allocations: 71.8 kB / 0.7965 GB, free: 5.062 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.6405, allocations: 20 kB / 0.7965 GB, free: 5.043 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.0002539/0.6407, allocations: 296.8 kB / 0.7968 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/0.6408, allocations: 63.25 kB / 0.7969 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005991/0.6414, allocations: 338.8 kB / 0.7972 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.6414, allocations: 4 kB / 0.7972 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.6414, allocations: 240 / 0.7972 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.6414, allocations: 0 / 0.7972 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.6428, allocations: 1.117 MB / 0.7983 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.6429, allocations: 3.984 kB / 0.7983 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.6431, allocations: 47.92 kB / 0.7984 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.6431, allocations: 7.938 kB / 0.7984 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.6431, allocations: 11.98 kB / 0.7984 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.6431, allocations: 12 kB / 0.7984 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-06/0.6431, allocations: 7.984 kB / 0.7984 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007965/0.6439, allocations: 0.6209 MB / 0.799 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.6441, allocations: 176.2 kB / 0.7992 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.43e-05/0.6442, allocations: 8 kB / 0.7992 GB, free: 2.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003562/0.6446, allocations: 27.98 kB / 0.7992 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.167e-05/0.6447, allocations: 23.97 kB / 0.7992 GB, free: 2.121 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.6447, allocations: 12 kB / 0.7992 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006579/0.6454, allocations: 479 kB / 0.7997 GB, free: 1.645 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6454, allocations: 0 / 0.7997 GB, free: 1.645 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008899/0.6463, allocations: 287.5 kB / 0.8 GB, free: 1.363 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.002149/0.6484, allocations: 1.569 MB / 0.8015 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00108/0.6495, allocations: 0.5254 MB / 0.802 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6495, allocations: 0 / 0.802 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.6497, allocations: 145.4 kB / 0.8022 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.6512, allocations: 267.7 kB / 0.8024 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006851/0.6581, allocations: 5.203 MB / 0.8075 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/0.6585, allocations: 0.8981 MB / 0.8084 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006632/0.6592, allocations: 168.9 kB / 0.8085 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.6595, allocations: 199.4 kB / 0.8087 GB, free: 8.301 MB / 0.6387 GB Notification: Performance of SimCode: time 4.51e-07/0.6595, allocations: 0 / 0.8087 GB, free: 8.301 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5387/1.198, allocations: 15.25 MB / 0.8236 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/1.198, allocations: 247.9 kB / 0.8238 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/3.226, allocations: 0 / 0.8238 GB, free: 216.9 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.fmu > IDEAS_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)