Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.58/2.58, allocations: 248.7 MB / 256.2 MB, free: 7.012 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001509/0.001509, allocations: 178.3 kB / 315.4 MB, free: 3.969 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.221/2.221, allocations: 205.3 MB / 0.5662 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 90.22 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.652e-05/2.654e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2285, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.241/7.469, allocations: 2.205 GB / 3.09 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/7.47, allocations: 85.89 kB / 3.09 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.341/12.81, allocations: 0.9947 GB / 4.084 GB, free: 129 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.186e-06/12.81, allocations: 3.781 kB / 4.084 GB, free: 129 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002207/12.81, allocations: 45.36 kB / 4.084 GB, free: 129 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.00619/12.82, allocations: 2.066 MB / 4.086 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/12.82, allocations: 12.03 kB / 4.086 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005742/12.82, allocations: 0.6009 MB / 4.087 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005208/12.83, allocations: 1.448 MB / 4.088 GB, free: 125.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000698/12.83, allocations: 120.1 kB / 4.089 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006546/12.83, allocations: 72 kB / 4.089 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003292/12.83, allocations: 0.9731 MB / 4.09 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003602/12.84, allocations: 1.205 MB / 4.091 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.269e-05/12.84, allocations: 0 / 4.091 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001974/12.84, allocations: 0 / 4.091 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-05/12.84, allocations: 46.23 kB / 4.091 GB, free: 122.9 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.01457/12.85, allocations: 5.763 MB / 4.096 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/12.85, allocations: 0.8631 MB / 4.097 GB, free: 116 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009384/12.85, allocations: 427.3 kB / 4.098 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007947/12.86, allocations: 307 kB / 4.098 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001096/12.86, allocations: 492.2 kB / 4.098 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=79): time 3.887e-06/12.86, allocations: 4 kB / 4.098 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=79): time 0.003719/12.86, allocations: 1.001 MB / 4.099 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.222e-05/12.86, allocations: 188.7 kB / 4.1 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001999/12.86, allocations: 0.9376 MB / 4.1 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003043/12.86, allocations: 29.7 kB / 4.101 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007956/12.86, allocations: 0.7627 MB / 4.101 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004172/12.86, allocations: 266.5 kB / 4.102 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.619e-05/12.86, allocations: 4 kB / 4.102 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.979e-05/12.86, allocations: 337.9 kB / 4.102 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007522/12.87, allocations: 314.5 kB / 4.102 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009415/12.87, allocations: 0.5612 MB / 4.103 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/12.87, allocations: 436.9 kB / 4.103 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/12.87, allocations: 6.078 kB / 4.103 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003354/12.87, allocations: 1.095 MB / 4.104 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003793/12.87, allocations: 1.738 MB / 4.106 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/12.87, allocations: 4 kB / 4.106 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002512/12.87, allocations: 43.78 kB / 4.106 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/12.87, allocations: 206.7 kB / 4.106 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005403/12.87, allocations: 0.6023 MB / 4.107 GB, free: 106 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002705/12.88, allocations: 148.3 kB / 4.107 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002004/12.88, allocations: 39.98 kB / 4.107 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/12.88, allocations: 4 kB / 4.107 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002798/12.88, allocations: 0.9299 MB / 4.108 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/12.88, allocations: 7.984 kB / 4.108 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002137/12.88, allocations: 51.28 kB / 4.108 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/12.88, allocations: 200.9 kB / 4.108 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/12.88, allocations: 1.536 MB / 4.11 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002726/12.89, allocations: 151.4 kB / 4.11 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002263/12.89, allocations: 40 kB / 4.11 GB, free: 102.7 MB / 0.8698 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 () * 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.0004/12.89, allocations: 162 kB / 4.11 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003034/12.89, allocations: 0.9756 MB / 4.111 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004709/12.89, allocations: 146.2 kB / 4.111 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003093/12.89, allocations: 1.035 MB / 4.112 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/12.89, allocations: 11.98 kB / 4.112 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/12.89, allocations: 7.891 kB / 4.112 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002273/12.9, allocations: 0.9354 MB / 4.113 GB, free: 99.42 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.006859/12.9, allocations: 2.575 MB / 4.115 GB, free: 96.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/12.9, allocations: 4 kB / 4.115 GB, free: 96.76 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/12.9, allocations: 184 kB / 4.116 GB, free: 96.58 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001691/12.9, allocations: 40.84 kB / 4.116 GB, free: 96.54 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/12.9, allocations: 19.98 kB / 4.116 GB, free: 96.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004192/12.91, allocations: 0.572 MB / 4.116 GB, free: 95.92 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/12.91, allocations: 7.938 kB / 4.116 GB, free: 95.91 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00413/12.91, allocations: 1.8 MB / 4.118 GB, free: 94 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/12.91, allocations: 341.5 kB / 4.118 GB, free: 93.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004459/12.91, allocations: 15.98 kB / 4.118 GB, free: 93.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002454/12.91, allocations: 115.7 kB / 4.118 GB, free: 93.52 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/12.91, allocations: 56.39 kB / 4.118 GB, free: 93.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/12.91, allocations: 39.97 kB / 4.119 GB, free: 93.43 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001487/12.92, allocations: 0.7113 MB / 4.119 GB, free: 92.71 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.71e-07/12.92, allocations: 0 / 4.119 GB, free: 92.71 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004371/12.92, allocations: 0.9507 MB / 4.12 GB, free: 91.76 MB / 0.8698 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) * 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.008703/12.93, allocations: 5.391 MB / 4.125 GB, free: 86.48 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003976/12.93, allocations: 1.574 MB / 4.127 GB, free: 84.86 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/12.93, allocations: 4 kB / 4.127 GB, free: 84.86 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/12.93, allocations: 498.7 kB / 4.127 GB, free: 84.36 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009285/12.94, allocations: 0.6963 MB / 4.128 GB, free: 83.69 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01357/12.96, allocations: 2.842 MB / 4.131 GB, free: 80.78 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/12.96, allocations: 1.369 MB / 4.132 GB, free: 79.38 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003577/12.96, allocations: 456.2 kB / 4.133 GB, free: 78.95 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/12.96, allocations: 0.6008 MB / 4.133 GB, free: 78.35 MB / 0.8698 GB Notification: Performance of SimCode: time 1.613e-06/12.96, allocations: 4 kB / 4.133 GB, free: 78.34 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1537/13.12, allocations: 55.82 MB / 4.188 GB, free: 22.86 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/13.12, allocations: 170 kB / 4.188 GB, free: 22.67 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.193/18.31, allocations: 0 / 4.188 GB, free: 22.67 MB / 0.8698 GB