Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="IDEAS_dev_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.001293/0.001292, allocations: 173.9 kB / 7.648 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.8088/0.8088, allocations: 133.6 MB / 141.6 MB, free: 2.836 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.618/1.618, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.0009705/0.0009706, allocations: 104.2 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.803e-05/1.786e-05, allocations: 0 / 0.5535 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5177/0.5177, allocations: 82.3 MB / 0.6339 GB, free: 40.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.35/5.868, allocations: 1.895 GB / 2.529 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/5.868, allocations: 87.66 kB / 2.529 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.054/9.923, allocations: 1.039 GB / 3.567 GB, free: 94.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/9.923, allocations: 0 / 3.567 GB, free: 94.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001691/9.923, allocations: 49.47 kB / 3.567 GB, free: 94.29 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.00456/9.927, allocations: 2.072 MB / 3.569 GB, free: 93.33 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/9.927, allocations: 7.438 kB / 3.569 GB, free: 93.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003933/9.931, allocations: 0.626 MB / 3.57 GB, free: 93.22 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002961/9.934, allocations: 1.44 MB / 3.571 GB, free: 92.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003473/9.935, allocations: 121.5 kB / 3.572 GB, free: 92.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/9.935, allocations: 73.25 kB / 3.572 GB, free: 92.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001646/9.937, allocations: 0.9827 MB / 3.573 GB, free: 92.81 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/9.938, allocations: 1.198 MB / 3.574 GB, free: 92.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/9.938, allocations: 4.719 kB / 3.574 GB, free: 92.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/9.938, allocations: 3.375 kB / 3.574 GB, free: 92.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.332e-05/9.939, allocations: 40.2 kB / 3.574 GB, free: 92.61 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.007334/9.946, allocations: 5.76 MB / 3.579 GB, free: 90.17 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/9.947, allocations: 0.9332 MB / 3.58 GB, free: 89.94 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005478/9.947, allocations: 460.4 kB / 3.581 GB, free: 89.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005035/9.948, allocations: 324.4 kB / 3.581 GB, free: 89.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006379/9.949, allocations: 0.4889 MB / 3.582 GB, free: 89.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=85): time 2.504e-06/9.949, allocations: 0 / 3.582 GB, free: 89.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=87): time 0.005136/9.954, allocations: 2.408 MB / 3.584 GB, free: 88.94 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/9.954, allocations: 191.1 kB / 3.584 GB, free: 88.72 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/9.955, allocations: 0.9275 MB / 3.585 GB, free: 88.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.228e-05/9.955, allocations: 25.7 kB / 3.585 GB, free: 88.54 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006141/9.956, allocations: 0.7462 MB / 3.586 GB, free: 88.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/9.956, allocations: 286.5 kB / 3.586 GB, free: 88.08 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/9.956, allocations: 0 / 3.586 GB, free: 88.08 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.135e-05/9.956, allocations: 341.5 kB / 3.586 GB, free: 87.77 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004404/9.957, allocations: 336.2 kB / 3.587 GB, free: 87.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005864/9.957, allocations: 0.5584 MB / 3.587 GB, free: 87.52 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.003697/9.961, allocations: 1.542 MB / 3.589 GB, free: 87.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/9.961, allocations: 0 / 3.589 GB, free: 87.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002/9.963, allocations: 1.135 MB / 3.59 GB, free: 87.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003524/9.963, allocations: 1.468 MB / 3.591 GB, free: 85.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/9.963, allocations: 2.75 kB / 3.591 GB, free: 85.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001546/9.964, allocations: 52.89 kB / 3.591 GB, free: 85.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008948/9.964, allocations: 208.9 kB / 3.592 GB, free: 85.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000352/9.965, allocations: 0.5925 MB / 3.592 GB, free: 85.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/9.966, allocations: 129.5 kB / 3.592 GB, free: 85.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-05/9.967, allocations: 42.14 kB / 3.592 GB, free: 85.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/9.967, allocations: 3.25 kB / 3.592 GB, free: 85.23 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001645/9.968, allocations: 0.9582 MB / 3.593 GB, free: 85.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/9.968, allocations: 3.906 kB / 3.593 GB, free: 85.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001267/9.968, allocations: 53.44 kB / 3.593 GB, free: 85.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008453/9.969, allocations: 217 kB / 3.593 GB, free: 85.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/9.97, allocations: 1.529 MB / 3.595 GB, free: 83.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/9.972, allocations: 120.1 kB / 3.595 GB, free: 83.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-05/9.972, allocations: 38.81 kB / 3.595 GB, free: 83.84 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.0002981/9.972, allocations: 166.6 kB / 3.595 GB, free: 83.7 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001709/9.974, allocations: 1.033 MB / 3.596 GB, free: 83.56 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/9.974, allocations: 152.5 kB / 3.596 GB, free: 83.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/9.976, allocations: 1.089 MB / 3.597 GB, free: 83.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/9.976, allocations: 7.531 kB / 3.597 GB, free: 83.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/9.976, allocations: 1.031 kB / 3.597 GB, free: 83.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001361/9.978, allocations: 0.9908 MB / 3.598 GB, free: 83.21 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.00431/9.982, allocations: 2.757 MB / 3.601 GB, free: 82.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/9.982, allocations: 3.812 kB / 3.601 GB, free: 82.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009239/9.983, allocations: 196.8 kB / 3.601 GB, free: 82.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001212/9.983, allocations: 42.61 kB / 3.601 GB, free: 82.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.254e-05/9.983, allocations: 15.69 kB / 3.601 GB, free: 82.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002884/9.983, allocations: 0.5892 MB / 3.602 GB, free: 82.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/9.984, allocations: 11.7 kB / 3.602 GB, free: 82.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002391/9.986, allocations: 1.993 MB / 3.604 GB, free: 81.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006405/9.987, allocations: 334.7 kB / 3.604 GB, free: 81.28 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/9.987, allocations: 6.531 kB / 3.604 GB, free: 81.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/9.988, allocations: 130 kB / 3.604 GB, free: 81.27 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/9.988, allocations: 66.05 kB / 3.604 GB, free: 81.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.036e-05/9.988, allocations: 37.95 kB / 3.604 GB, free: 81.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00114/9.989, allocations: 0.7024 MB / 3.605 GB, free: 81.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/9.989, allocations: 0 / 3.605 GB, free: 81.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003099/9.992, allocations: 0.8312 MB / 3.606 GB, free: 81.13 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.006796/9.999, allocations: 6.071 MB / 3.612 GB, free: 78.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002725/10, allocations: 1.638 MB / 3.613 GB, free: 77.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/10, allocations: 3.656 kB / 3.613 GB, free: 77.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007055/10, allocations: 0.511 MB / 3.614 GB, free: 77.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003837/10.01, allocations: 0.712 MB / 3.615 GB, free: 77.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007818/10.01, allocations: 2.899 MB / 3.618 GB, free: 76.37 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008114/10.02, allocations: 1.377 MB / 3.619 GB, free: 75.61 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002236/10.02, allocations: 460 kB / 3.619 GB, free: 75.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007812/10.02, allocations: 0.6023 MB / 3.62 GB, free: 75.11 MB / 0.698 GB Notification: Performance of SimCode: time 1.273e-06/10.02, allocations: 2.438 kB / 3.62 GB, free: 75.11 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09568/10.11, allocations: 56.38 MB / 3.675 GB, free: 32.24 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/10.11, allocations: 152.8 kB / 3.675 GB, free: 32.05 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.998/14.11, allocations: 0 / 3.675 GB, free: 32.05 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Humidifiers_Examples_Humidifier_u.fmu > IDEAS_dev_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)