Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9649/0.9649, allocations: 143.3 MB / 158.3 MB, free: 5.785 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 177 kB / 191.5 MB, free: 5.754 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 223.2 MB / 447.7 MB, free: 4.875 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009406/0.0009406, allocations: 95.73 kB / 0.5187 GB, free: 1.238 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00276/0.00276, allocations: 273.3 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004373, allocations: 11.5 kB / 0.6929 GB, free: 59.67 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1409, allocations: 82.8 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.375/4.516, allocations: 1.893 GB / 2.667 GB, free: 182.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/4.517, allocations: 94.64 kB / 2.667 GB, free: 182 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.367/8.883, allocations: 1.05 GB / 3.717 GB, free: 87.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.025e-06/8.883, allocations: 2.906 kB / 3.717 GB, free: 87.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001922/8.883, allocations: 51.81 kB / 3.717 GB, free: 87.34 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.007627/8.891, allocations: 2.365 MB / 3.719 GB, free: 86.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/8.891, allocations: 11.28 kB / 3.719 GB, free: 86.34 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005179/8.892, allocations: 179.9 kB / 3.719 GB, free: 86.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00417/8.896, allocations: 0.6149 MB / 3.72 GB, free: 86.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004275/8.9, allocations: 1.441 MB / 3.721 GB, free: 85.87 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003941/8.901, allocations: 158.1 kB / 3.721 GB, free: 85.87 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002198/8.901, allocations: 125.8 kB / 3.722 GB, free: 85.87 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002967/8.904, allocations: 1.475 MB / 3.723 GB, free: 85.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/8.904, allocations: 3.953 kB / 3.723 GB, free: 85.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/8.904, allocations: 52.31 kB / 3.723 GB, free: 85.66 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.735e-05/8.904, allocations: 48.84 kB / 3.723 GB, free: 85.65 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002621/8.907, allocations: 1.249 MB / 3.724 GB, free: 85.64 MB / 0.7136 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.01051/8.917, allocations: 6.012 MB / 3.73 GB, free: 83.15 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/8.919, allocations: 1.072 MB / 3.731 GB, free: 82.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005664/8.92, allocations: 315.2 kB / 3.732 GB, free: 82.65 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001152/8.921, allocations: 0.5914 MB / 3.732 GB, free: 82.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=79): time 4.399e-06/8.921, allocations: 0 / 3.732 GB, free: 82.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=79): time 0.004656/8.926, allocations: 1.824 MB / 3.734 GB, free: 82.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.649e-05/8.926, allocations: 196.7 kB / 3.734 GB, free: 81.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/8.928, allocations: 1.147 MB / 3.735 GB, free: 81.83 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001552/8.928, allocations: 45.55 kB / 3.735 GB, free: 81.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008098/8.929, allocations: 0.7443 MB / 3.736 GB, free: 81.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003073/8.929, allocations: 267.8 kB / 3.736 GB, free: 81.46 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/8.929, allocations: 15.75 kB / 3.736 GB, free: 81.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001082/8.929, allocations: 347.7 kB / 3.737 GB, free: 81.16 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008734/8.93, allocations: 432.6 kB / 3.737 GB, free: 81.16 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/8.931, allocations: 0.6808 MB / 3.738 GB, free: 80.88 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000997/8.932, allocations: 0.5119 MB / 3.738 GB, free: 80.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/8.932, allocations: 3.562 kB / 3.738 GB, free: 80.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003134/8.935, allocations: 1.351 MB / 3.739 GB, free: 80.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000673/8.936, allocations: 1.738 MB / 3.741 GB, free: 78.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/8.936, allocations: 4.375 kB / 3.741 GB, free: 78.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002731/8.936, allocations: 55.59 kB / 3.741 GB, free: 78.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008924/8.937, allocations: 206.8 kB / 3.741 GB, free: 78.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004001/8.938, allocations: 0.5888 MB / 3.742 GB, free: 78.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/8.94, allocations: 193.2 kB / 3.742 GB, free: 78.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/8.94, allocations: 41.55 kB / 3.742 GB, free: 78.25 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/8.94, allocations: 6.75 kB / 3.742 GB, free: 78.25 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0025/8.942, allocations: 1.194 MB / 3.743 GB, free: 78.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/8.942, allocations: 3.781 kB / 3.743 GB, free: 78.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001495/8.943, allocations: 50.16 kB / 3.743 GB, free: 78.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008471/8.943, allocations: 203.1 kB / 3.744 GB, free: 78.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/8.945, allocations: 1.606 MB / 3.745 GB, free: 76.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/8.947, allocations: 183.7 kB / 3.745 GB, free: 76.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.343e-05/8.947, allocations: 39.22 kB / 3.745 GB, free: 76.74 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001308/8.948, allocations: 0.4959 MB / 3.746 GB, free: 76.52 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000338/8.949, allocations: 158.8 kB / 3.746 GB, free: 76.44 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002574/8.951, allocations: 1.282 MB / 3.747 GB, free: 76.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/8.951, allocations: 7.531 kB / 3.747 GB, free: 76.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/8.951, allocations: 0 / 3.747 GB, free: 76.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002034/8.953, allocations: 1.162 MB / 3.748 GB, free: 76.11 MB / 0.7136 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 postOpt removeSimpleEquations (simulation): time 0.005632/8.959, allocations: 2.948 MB / 3.751 GB, free: 75.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.148e-06/8.959, allocations: 5.25 kB / 3.751 GB, free: 75.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009559/8.96, allocations: 182.2 kB / 3.751 GB, free: 75.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001757/8.96, allocations: 46.31 kB / 3.752 GB, free: 75.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.317e-05/8.96, allocations: 24.25 kB / 3.752 GB, free: 75.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003776/8.961, allocations: 0.5893 MB / 3.752 GB, free: 75.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/8.961, allocations: 3.75 kB / 3.752 GB, free: 75.05 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003961/8.965, allocations: 2.133 MB / 3.754 GB, free: 74.51 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/8.966, allocations: 362.1 kB / 3.755 GB, free: 74.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/8.966, allocations: 24.78 kB / 3.755 GB, free: 74.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/8.967, allocations: 126.4 kB / 3.755 GB, free: 74.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/8.968, allocations: 47.44 kB / 3.755 GB, free: 74.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.694e-05/8.968, allocations: 34.27 kB / 3.755 GB, free: 74.32 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001793/8.969, allocations: 0.8963 MB / 3.756 GB, free: 74.21 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.61e-07/8.969, allocations: 0 / 3.756 GB, free: 74.21 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004501/8.974, allocations: 1.05 MB / 3.757 GB, free: 74.09 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.U,humDyn.vol.dynBal.mXi[1],senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.009323/8.983, allocations: 5.517 MB / 3.762 GB, free: 71.73 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004179/8.988, allocations: 1.887 MB / 3.764 GB, free: 71.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.396e-05/8.988, allocations: 3.938 kB / 3.764 GB, free: 71.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/8.989, allocations: 0.6077 MB / 3.765 GB, free: 71.41 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004412/8.993, allocations: 0.8173 MB / 3.765 GB, free: 71.39 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02107/9.014, allocations: 12.77 MB / 3.778 GB, free: 65.31 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/9.015, allocations: 1.363 MB / 3.779 GB, free: 64.59 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002051/9.017, allocations: 369.7 kB / 3.779 GB, free: 64.57 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008853/9.018, allocations: 0.6262 MB / 3.78 GB, free: 64.57 MB / 0.7136 GB Notification: Performance of SimCode: time 1.102e-06/9.018, allocations: 0 / 3.78 GB, free: 64.57 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1324/9.151, allocations: 75.5 MB / 3.854 GB, free: 48.36 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/9.151, allocations: 261 kB / 3.854 GB, free: 48 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.883/14.03, allocations: 3.938 kB / 3.854 GB, free: 48 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Humidifiers_Examples_Humidifier_u.fmu > BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)