Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.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.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="IDEAS_IDEAS_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="IDEAS_IDEAS_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",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.001388/0.001388, 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.8455/0.8455, allocations: 133.6 MB / 141.6 MB, free: 2.918 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.465/1.465, 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.0009388/0.0009388, allocations: 104.8 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.321e-05/2.325e-05, allocations: 4 kB / 0.5535 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5002/0.5003, allocations: 82.31 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.896/5.397, allocations: 1.849 GB / 2.483 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/5.397, allocations: 87.95 kB / 2.483 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.429/8.826, allocations: 0.9637 GB / 3.447 GB, free: 2.207 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.452e-06/8.826, allocations: 0 / 3.447 GB, free: 2.207 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.927e-05/8.826, allocations: 16 kB / 3.447 GB, free: 2.191 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.002966/8.829, allocations: 1.048 MB / 3.448 GB, free: 1.094 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/8.829, allocations: 12.03 kB / 3.448 GB, free: 1.082 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/8.83, allocations: 214.9 kB / 3.448 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4812/9.312, allocations: 0.8768 MB / 3.449 GB, free: 149.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.835e-05/9.312, allocations: 14.17 kB / 3.449 GB, free: 149.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/9.312, allocations: 28.06 kB / 3.449 GB, free: 149.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007766/9.313, allocations: 328.5 kB / 3.449 GB, free: 149.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007772/9.313, allocations: 444.5 kB / 3.45 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/9.314, allocations: 0.75 kB / 3.45 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.201e-05/9.314, allocations: 1.406 kB / 3.45 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/9.314, allocations: 20.59 kB / 3.45 GB, free: 149.5 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.003118/9.317, allocations: 2.055 MB / 3.452 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005571/9.317, allocations: 262.9 kB / 3.452 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/9.318, allocations: 118.1 kB / 3.452 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/9.319, allocations: 0.8173 MB / 3.453 GB, free: 147.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003297/9.319, allocations: 197.3 kB / 3.453 GB, free: 147.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=27): time 3.487e-06/9.319, allocations: 2.938 kB / 3.453 GB, free: 147.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=27): time 0.004101/9.323, allocations: 0.821 MB / 3.454 GB, free: 147.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/9.323, allocations: 109.6 kB / 3.454 GB, free: 147.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006989/9.324, allocations: 455 kB / 3.455 GB, free: 147.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/9.324, allocations: 29.14 kB / 3.455 GB, free: 147.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/9.324, allocations: 330.7 kB / 3.455 GB, free: 147 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.675e-05/9.324, allocations: 90.59 kB / 3.455 GB, free: 146.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.831e-05/9.324, allocations: 0.9688 kB / 3.455 GB, free: 146.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001377/9.324, allocations: 367.4 kB / 3.455 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/9.325, allocations: 104 kB / 3.455 GB, free: 146.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003298/9.325, allocations: 294.9 kB / 3.456 GB, free: 146.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003288/9.328, allocations: 0.644 MB / 3.456 GB, free: 146.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/9.328, allocations: 1.156 kB / 3.456 GB, free: 146.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003591/9.332, allocations: 0.9094 MB / 3.457 GB, free: 146.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003882/9.332, allocations: 1.836 MB / 3.459 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/9.332, allocations: 5 kB / 3.459 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/9.332, allocations: 8.719 kB / 3.459 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/9.333, allocations: 88.62 kB / 3.459 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/9.333, allocations: 10.44 kB / 3.459 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004522/9.333, allocations: 41.83 kB / 3.459 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.996e-05/9.333, allocations: 24.62 kB / 3.459 GB, free: 144.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/9.333, allocations: 4.062 kB / 3.459 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003397/9.337, allocations: 0.8165 MB / 3.46 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/9.337, allocations: 5.469 kB / 3.46 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/9.337, allocations: 7.469 kB / 3.46 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/9.337, allocations: 86.31 kB / 3.46 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/9.337, allocations: 9.844 kB / 3.46 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000436/9.338, allocations: 40.95 kB / 3.46 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.39e-05/9.338, allocations: 27.34 kB / 3.46 GB, free: 144.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001514/9.338, allocations: 126.1 kB / 3.46 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003295/9.341, allocations: 0.7911 MB / 3.461 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.489e-05/9.341, allocations: 60.47 kB / 3.461 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003271/9.344, allocations: 0.7907 MB / 3.462 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/9.344, allocations: 6.578 kB / 3.462 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/9.344, allocations: 11.11 kB / 3.462 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/9.344, allocations: 3.141 kB / 3.462 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004196/9.349, allocations: 1.593 MB / 3.463 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/9.349, allocations: 3.906 kB / 3.463 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/9.349, allocations: 46.7 kB / 3.463 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/9.349, allocations: 7.766 kB / 3.463 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/9.349, allocations: 3.625 kB / 3.463 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/9.349, allocations: 12.44 kB / 3.463 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/9.349, allocations: 3.906 kB / 3.463 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003349/9.352, allocations: 1.197 MB / 3.465 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/9.353, allocations: 162 kB / 3.465 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.602e-05/9.353, allocations: 11.94 kB / 3.465 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/9.353, allocations: 12.92 kB / 3.465 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/9.353, allocations: 26.38 kB / 3.465 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/9.353, allocations: 12.83 kB / 3.465 GB, free: 143.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003375/9.353, allocations: 348.8 kB / 3.465 GB, free: 143.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.71e-07/9.353, allocations: 0 / 3.465 GB, free: 143.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001198/9.355, allocations: 370.2 kB / 3.466 GB, free: 143.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (hum.outCon.T,hum.outCon.Xi) * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006011/9.361, allocations: 4.081 MB / 3.47 GB, free: 141.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000798/9.361, allocations: 471 kB / 3.47 GB, free: 141.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/9.361, allocations: 0 / 3.47 GB, free: 141.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001656/9.362, allocations: 129 kB / 3.47 GB, free: 141.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009692/9.363, allocations: 196.9 kB / 3.47 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005208/9.368, allocations: 1.806 MB / 3.472 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/9.368, allocations: 0.9138 MB / 3.473 GB, free: 140.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007828/9.369, allocations: 202.7 kB / 3.473 GB, free: 140.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/9.369, allocations: 197.7 kB / 3.473 GB, free: 140.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.172e-06/9.369, allocations: 0 / 3.473 GB, free: 140.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05105/9.42, allocations: 24.46 MB / 3.497 GB, free: 139.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/9.42, allocations: 174.3 kB / 3.497 GB, free: 139.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.918/12.34, allocations: 0 / 3.497 GB, free: 139.7 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.fmu > IDEAS_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1)