Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="IDEAS_IDEAS_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="IDEAS_IDEAS_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7162/0.7162, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 221.3 MB / 400.4 MB, free: 5.875 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009254/0.0009257, allocations: 91.89 kB / 483.3 MB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.467e-05/3.481e-05, allocations: 3.375 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1664, allocations: 82.3 MB / 0.6405 GB, free: 7.762 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.834/5, allocations: 1.895 GB / 2.536 GB, free: 34.26 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003542/5.001, allocations: 91.89 kB / 2.536 GB, free: 34.17 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.085/9.086, allocations: 1.05 GB / 3.585 GB, free: 31.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.422e-06/9.086, allocations: 0 / 3.585 GB, free: 31.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003142/9.086, allocations: 44 kB / 3.586 GB, free: 31.84 MB / 0.698 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.007232/9.094, allocations: 2.07 MB / 3.588 GB, free: 29.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/9.094, allocations: 8.031 kB / 3.588 GB, free: 29.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007417/9.094, allocations: 177.5 kB / 3.588 GB, free: 29.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004929/9.099, allocations: 0.6374 MB / 3.588 GB, free: 28.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005128/9.105, allocations: 1.438 MB / 3.59 GB, free: 27.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004471/9.105, allocations: 167.8 kB / 3.59 GB, free: 27.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005695/9.106, allocations: 116 kB / 3.59 GB, free: 27.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003536/9.109, allocations: 1.369 MB / 3.591 GB, free: 25.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.133e-05/9.109, allocations: 3.953 kB / 3.591 GB, free: 25.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000227/9.11, allocations: 55.98 kB / 3.591 GB, free: 25.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.966e-05/9.11, allocations: 42.27 kB / 3.591 GB, free: 25.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00237/9.112, allocations: 1.048 MB / 3.592 GB, free: 24.51 MB / 0.698 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.01086/9.123, allocations: 5.996 MB / 3.598 GB, free: 18.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/9.124, allocations: 0.9621 MB / 3.599 GB, free: 17.16 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006462/9.125, allocations: 475.6 kB / 3.6 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005462/9.125, allocations: 316.2 kB / 3.6 GB, free: 16.33 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008016/9.126, allocations: 0.5224 MB / 3.601 GB, free: 15.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=85): time 4.078e-06/9.126, allocations: 3.938 kB / 3.601 GB, free: 15.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=87): time 0.005799/9.132, allocations: 2.445 MB / 3.603 GB, free: 13.26 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.575e-05/9.132, allocations: 192.7 kB / 3.603 GB, free: 13.03 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002309/9.135, allocations: 1.117 MB / 3.604 GB, free: 11.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001491/9.135, allocations: 45.7 kB / 3.604 GB, free: 11.85 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007044/9.135, allocations: 0.7366 MB / 3.605 GB, free: 11.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002824/9.136, allocations: 299.7 kB / 3.605 GB, free: 10.81 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/9.136, allocations: 16 kB / 3.605 GB, free: 10.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.573e-05/9.136, allocations: 341.9 kB / 3.606 GB, free: 10.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005243/9.136, allocations: 345.9 kB / 3.606 GB, free: 10.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007722/9.137, allocations: 0.5941 MB / 3.607 GB, free: 9.426 MB / 0.698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start (sin.p = humDyn.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/9.148, allocations: 2.583 MB / 3.609 GB, free: 6.812 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-06/9.148, allocations: 0 / 3.609 GB, free: 6.812 MB / 0.698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002566/9.151, allocations: 1.172 MB / 3.61 GB, free: 5.625 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004155/9.151, allocations: 1.477 MB / 3.612 GB, free: 4.012 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/9.151, allocations: 8 kB / 3.612 GB, free: 4.004 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002141/9.152, allocations: 48.84 kB / 3.612 GB, free: 3.953 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009998/9.153, allocations: 207.7 kB / 3.612 GB, free: 3.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004179/9.153, allocations: 0.5953 MB / 3.612 GB, free: 3.129 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/9.155, allocations: 143.8 kB / 3.613 GB, free: 2.988 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/9.155, allocations: 39.98 kB / 3.613 GB, free: 2.949 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/9.155, allocations: 4 kB / 3.613 GB, free: 2.945 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001636/9.157, allocations: 1.028 MB / 3.614 GB, free: 1.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/9.157, allocations: 4 kB / 3.614 GB, free: 1.906 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001443/9.157, allocations: 52.81 kB / 3.614 GB, free: 1.852 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009049/9.158, allocations: 208.1 kB / 3.614 GB, free: 1.648 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/9.16, allocations: 1.603 MB / 3.615 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/9.162, allocations: 143.7 kB / 3.616 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/9.162, allocations: 36.19 kB / 3.616 GB, free: 15.72 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (99): * Single equations (assignments): 97 * 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.0004561/9.162, allocations: 204.5 kB / 3.616 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005572/9.163, allocations: 166.1 kB / 3.616 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00283/9.166, allocations: 1.144 MB / 3.617 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/9.166, allocations: 8 kB / 3.617 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/9.166, allocations: 3.953 kB / 3.617 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00173/9.167, allocations: 1.013 MB / 3.618 GB, free: 13.11 MB / 0.7136 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.006976/9.174, allocations: 2.935 MB / 3.621 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/9.174, allocations: 4 kB / 3.621 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/9.175, allocations: 196.2 kB / 3.621 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002046/9.176, allocations: 56.83 kB / 3.621 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.992e-05/9.176, allocations: 31.98 kB / 3.621 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004638/9.176, allocations: 0.5913 MB / 3.622 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/9.176, allocations: 7.984 kB / 3.622 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003467/9.18, allocations: 2.056 MB / 3.624 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/9.181, allocations: 347 kB / 3.624 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005869/9.182, allocations: 27.98 kB / 3.624 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001929/9.184, allocations: 139.7 kB / 3.624 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/9.184, allocations: 68.31 kB / 3.624 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/9.184, allocations: 31.98 kB / 3.624 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002167/9.186, allocations: 0.8733 MB / 3.625 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.11e-07/9.186, allocations: 0 / 3.625 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005721/9.192, allocations: 0.9412 MB / 3.626 GB, free: 4.457 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (78): * Single equations (assignments): 76 * 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.5222/9.714, allocations: 5.885 MB / 3.632 GB, free: 102.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003715/9.718, allocations: 1.724 MB / 3.634 GB, free: 102 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/9.718, allocations: 1.375 kB / 3.634 GB, free: 102 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009916/9.719, allocations: 0.5341 MB / 3.634 GB, free: 102 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00504/9.724, allocations: 0.81 MB / 3.635 GB, free: 102 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/9.734, allocations: 3.003 MB / 3.638 GB, free: 101.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001371/9.736, allocations: 1.371 MB / 3.639 GB, free: 100.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003305/9.739, allocations: 0.5033 MB / 3.64 GB, free: 100.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/9.74, allocations: 0.6064 MB / 3.64 GB, free: 100.5 MB / 0.7136 GB Notification: Performance of SimCode: time 2.155e-06/9.74, allocations: 0 / 3.64 GB, free: 100.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1482/9.888, allocations: 83.74 MB / 3.722 GB, free: 98.09 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/9.889, allocations: 210.4 kB / 3.722 GB, free: 97.87 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.832/14.72, allocations: 3.188 kB / 3.722 GB, free: 97.87 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Humidifiers_Examples_Humidifier_u.fmu > IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)