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.0009899/0.0009899, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7776/0.7776, allocations: 133.6 MB / 141.6 MB, free: 2.875 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0009411/0.0009411, allocations: 97 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.726e-05/1.73e-05, allocations: 0 / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5066/0.5066, allocations: 82.3 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.001/5.507, allocations: 1.895 GB / 2.529 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/5.508, allocations: 90.44 kB / 2.529 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.192/9.7, allocations: 1.039 GB / 3.567 GB, free: 94.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.335e-06/9.7, allocations: 2.625 kB / 3.567 GB, free: 94.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002308/9.7, allocations: 53.39 kB / 3.567 GB, free: 94.28 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.007048/9.707, allocations: 2.067 MB / 3.569 GB, free: 93.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/9.707, allocations: 7.75 kB / 3.569 GB, free: 93.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006941/9.714, allocations: 0.6273 MB / 3.57 GB, free: 93.19 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006592/9.721, allocations: 1.444 MB / 3.571 GB, free: 92.78 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000473/9.721, allocations: 120.8 kB / 3.572 GB, free: 92.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002914/9.722, allocations: 72.34 kB / 3.572 GB, free: 92.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002674/9.724, allocations: 0.982 MB / 3.573 GB, free: 92.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003209/9.728, allocations: 1.195 MB / 3.574 GB, free: 92.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.027e-05/9.728, allocations: 7.312 kB / 3.574 GB, free: 92.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001686/9.728, allocations: 2.625 kB / 3.574 GB, free: 92.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-05/9.728, allocations: 43.83 kB / 3.574 GB, free: 92.56 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.01316/9.741, allocations: 5.757 MB / 3.579 GB, free: 90.13 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/9.743, allocations: 0.9377 MB / 3.58 GB, free: 89.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009566/9.744, allocations: 453 kB / 3.581 GB, free: 89.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000747/9.745, allocations: 315.3 kB / 3.581 GB, free: 89.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/9.746, allocations: 0.4933 MB / 3.582 GB, free: 89.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=85): time 6.012e-06/9.746, allocations: 2 kB / 3.582 GB, free: 89.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=87): time 0.008963/9.755, allocations: 2.411 MB / 3.584 GB, free: 88.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/9.755, allocations: 192.5 kB / 3.584 GB, free: 88.69 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/9.757, allocations: 0.9253 MB / 3.585 GB, free: 88.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001754/9.757, allocations: 30.39 kB / 3.585 GB, free: 88.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008852/9.758, allocations: 0.7397 MB / 3.586 GB, free: 88.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003557/9.759, allocations: 287.2 kB / 3.586 GB, free: 88.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.609e-05/9.759, allocations: 2.812 kB / 3.586 GB, free: 88.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.576e-05/9.759, allocations: 343.2 kB / 3.586 GB, free: 87.74 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007932/9.76, allocations: 335.8 kB / 3.587 GB, free: 87.74 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/9.761, allocations: 0.5613 MB / 3.587 GB, free: 87.49 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.006564/9.767, allocations: 1.546 MB / 3.589 GB, free: 87.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/9.767, allocations: 3.969 kB / 3.589 GB, free: 87.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003815/9.771, allocations: 1.12 MB / 3.59 GB, free: 87.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004766/9.772, allocations: 1.467 MB / 3.591 GB, free: 85.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/9.772, allocations: 6.719 kB / 3.591 GB, free: 85.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002551/9.772, allocations: 46.22 kB / 3.591 GB, free: 85.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/9.774, allocations: 214.1 kB / 3.592 GB, free: 85.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005766/9.774, allocations: 0.5912 MB / 3.592 GB, free: 85.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002706/9.777, allocations: 124.7 kB / 3.592 GB, free: 85.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/9.777, allocations: 39.73 kB / 3.592 GB, free: 85.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/9.777, allocations: 2.969 kB / 3.592 GB, free: 85.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003028/9.78, allocations: 0.9702 MB / 3.593 GB, free: 85.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/9.78, allocations: 3.031 kB / 3.593 GB, free: 85.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002338/9.78, allocations: 41.98 kB / 3.593 GB, free: 85.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/9.782, allocations: 213.2 kB / 3.593 GB, free: 85.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/9.784, allocations: 1.536 MB / 3.595 GB, free: 83.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002812/9.787, allocations: 123.2 kB / 3.595 GB, free: 83.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/9.787, allocations: 45.52 kB / 3.595 GB, free: 83.8 MB / 0.698 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.000529/9.788, allocations: 176.9 kB / 3.595 GB, free: 83.66 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003827/9.791, allocations: 1.023 MB / 3.596 GB, free: 83.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007647/9.792, allocations: 153.2 kB / 3.596 GB, free: 83.45 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0036/9.796, allocations: 1.087 MB / 3.597 GB, free: 83.36 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/9.796, allocations: 11.75 kB / 3.597 GB, free: 83.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/9.796, allocations: 0 / 3.597 GB, free: 83.36 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002639/9.799, allocations: 0.9908 MB / 3.598 GB, free: 83.17 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 postOpt removeSimpleEquations (simulation): time 0.008178/9.807, allocations: 2.749 MB / 3.601 GB, free: 82.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/9.807, allocations: 3.969 kB / 3.601 GB, free: 82.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/9.808, allocations: 200.2 kB / 3.601 GB, free: 82.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001735/9.808, allocations: 45.69 kB / 3.601 GB, free: 82.64 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/9.809, allocations: 23.02 kB / 3.601 GB, free: 82.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004519/9.809, allocations: 0.5845 MB / 3.602 GB, free: 82.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/9.809, allocations: 5.625 kB / 3.602 GB, free: 82.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004926/9.814, allocations: 1.995 MB / 3.604 GB, free: 81.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00175/9.816, allocations: 332.7 kB / 3.604 GB, free: 81.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008513/9.817, allocations: 11.19 kB / 3.604 GB, free: 81.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003007/9.82, allocations: 128.5 kB / 3.604 GB, free: 81.24 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/9.82, allocations: 60.69 kB / 3.604 GB, free: 81.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001795/9.82, allocations: 39.33 kB / 3.604 GB, free: 81.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00274/9.823, allocations: 0.7005 MB / 3.605 GB, free: 81.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.967e-06/9.823, allocations: 2.469 kB / 3.605 GB, free: 81.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006664/9.83, allocations: 0.828 MB / 3.606 GB, free: 81.09 MB / 0.698 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.01179/9.841, allocations: 6.079 MB / 3.612 GB, free: 78.11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004831/9.846, allocations: 1.64 MB / 3.614 GB, free: 77.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.404e-05/9.846, allocations: 0 / 3.614 GB, free: 77.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001329/9.848, allocations: 0.5133 MB / 3.614 GB, free: 77.37 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006142/9.854, allocations: 0.7039 MB / 3.615 GB, free: 77.24 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/9.867, allocations: 2.907 MB / 3.618 GB, free: 76.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001389/9.868, allocations: 1.372 MB / 3.619 GB, free: 75.38 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004519/9.873, allocations: 459.8 kB / 3.619 GB, free: 75.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001295/9.874, allocations: 0.6041 MB / 3.62 GB, free: 74.88 MB / 0.698 GB Notification: Performance of SimCode: time 2.024e-06/9.874, allocations: 3.219 kB / 3.62 GB, free: 74.88 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09581/9.97, allocations: 56.38 MB / 3.675 GB, free: 31.12 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/9.97, allocations: 147.9 kB / 3.675 GB, free: 30.93 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.923/13.89, allocations: 0 / 3.675 GB, free: 30.93 MB / 0.698 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)