Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007023/0.0007023, allocations: 97.64 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007185/0.0007185, allocations: 181.9 kB / 16.92 MB, free: 6.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6754/0.6754, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003143, allocations: 8.594 kB / 495.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1369, allocations: 77.53 MB / 0.56 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic): time 0.4887/0.6256, allocations: 175.7 MB / 0.7316 GB, free: 6.941 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006339/0.632, allocations: 3.721 MB / 0.7353 GB, free: 3.207 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007877/0.6328, allocations: 27.81 kB / 0.7353 GB, free: 3.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.6339, allocations: 378.1 kB / 0.7357 GB, free: 2.809 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00301/0.6369, allocations: 1.167 MB / 0.7368 GB, free: 1.637 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.6388, allocations: 0.6644 MB / 0.7375 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002124/0.6409, allocations: 1.843 MB / 0.7393 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007312/0.6417, allocations: 409.6 kB / 0.7396 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002502/0.6442, allocations: 0.8775 MB / 0.7405 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007848/0.645, allocations: 470 kB / 0.741 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.6451, allocations: 20 kB / 0.741 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002135/0.6472, allocations: 1.309 MB / 0.7423 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002597/0.6475, allocations: 183.4 kB / 0.7424 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004254/0.6479, allocations: 328 kB / 0.7427 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001817/0.6498, allocations: 1.215 MB / 0.7439 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.6498, allocations: 0 / 0.7439 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.72e-07/0.6498, allocations: 0 / 0.7439 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.032e-05/0.6498, allocations: 0 / 0.7439 GB, free: 10.34 MB / 0.5606 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.001965/0.6518, allocations: 0.9358 MB / 0.7448 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.6518, allocations: 12.03 kB / 0.7449 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001063/0.6519, allocations: 82.52 kB / 0.7449 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/0.6533, allocations: 230.9 kB / 0.7451 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008008/0.6541, allocations: 0.542 MB / 0.7457 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.6541, allocations: 36.92 kB / 0.7457 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.81e-05/0.6542, allocations: 40 kB / 0.7458 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.6553, allocations: 0.5518 MB / 0.7463 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.6553, allocations: 0 / 0.7463 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/0.6553, allocations: 16 kB / 0.7463 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.6554, allocations: 17 kB / 0.7463 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.6569, allocations: 0.5074 MB / 0.7468 GB, free: 7.25 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003455/0.6604, allocations: 2.227 MB / 0.749 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000649/0.661, allocations: 356.8 kB / 0.7493 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.6613, allocations: 148.7 kB / 0.7495 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001391/0.6627, allocations: 0.865 MB / 0.7503 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003676/0.663, allocations: 202.6 kB / 0.7505 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 1.814e-06/0.6631, allocations: 0 / 0.7505 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28): time 0.001026/0.6641, allocations: 459.6 kB / 0.751 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.6641, allocations: 81.11 kB / 0.751 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009207/0.6651, allocations: 0.6601 MB / 0.7517 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.6651, allocations: 33.7 kB / 0.7517 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.6654, allocations: 323.7 kB / 0.752 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.043e-05/0.6654, allocations: 94.59 kB / 0.7521 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.954e-05/0.6655, allocations: 41.69 kB / 0.7521 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002124/0.6657, allocations: 370.8 kB / 0.7525 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/0.6663, allocations: 140.8 kB / 0.7526 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004644/0.6668, allocations: 298.2 kB / 0.7529 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007071/0.6675, allocations: 413.7 kB / 0.7533 GB, free: 44 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.6675, allocations: 0 / 0.7533 GB, free: 44 kB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001058/0.6686, allocations: 0.4915 MB / 0.7538 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.6687, allocations: 207.7 kB / 0.754 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.6687, allocations: 8 kB / 0.754 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.6687, allocations: 4 kB / 0.754 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005581/0.6693, allocations: 95.83 kB / 0.7541 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.6693, allocations: 4 kB / 0.7541 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006331/0.6699, allocations: 95.41 kB / 0.7542 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-05/0.67, allocations: 20 kB / 0.7542 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.685e-06/0.67, allocations: 4 kB / 0.7542 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008974/0.6709, allocations: 416.5 kB / 0.7546 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.6709, allocations: 4 kB / 0.7546 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.6709, allocations: 4.438 kB / 0.7546 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003922/0.6713, allocations: 99.81 kB / 0.7547 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.6714, allocations: 4 kB / 0.7547 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005195/0.6719, allocations: 75.5 kB / 0.7548 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.6719, allocations: 23.98 kB / 0.7548 GB, free: 14.45 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.XSet.nextTimeEvent,$whenCondition1,XSet.nextTimeEventScaled,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002842/0.6722, allocations: 286.9 kB / 0.7551 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.543e-05/0.6723, allocations: 63.25 kB / 0.7551 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005925/0.6729, allocations: 343.6 kB / 0.7555 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.6729, allocations: 4 kB / 0.7555 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6729, allocations: 0 / 0.7555 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.6729, allocations: 0 / 0.7555 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.6744, allocations: 1.117 MB / 0.7566 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.6744, allocations: 0 / 0.7566 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.6746, allocations: 47.92 kB / 0.7566 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.869e-06/0.6747, allocations: 7.938 kB / 0.7566 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.6747, allocations: 12.25 kB / 0.7566 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.6747, allocations: 8 kB / 0.7566 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.6747, allocations: 4 kB / 0.7566 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008189/0.6755, allocations: 0.6131 MB / 0.7572 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/0.6757, allocations: 172.2 kB / 0.7574 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.933e-05/0.6758, allocations: 19.98 kB / 0.7574 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/0.6762, allocations: 35.89 kB / 0.7575 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.6763, allocations: 23.91 kB / 0.7575 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.6763, allocations: 12 kB / 0.7575 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006385/0.6769, allocations: 475 kB / 0.7579 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.677, allocations: 0 / 0.7579 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008362/0.6778, allocations: 275.6 kB / 0.7582 GB, free: 10.79 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002165/0.68, allocations: 1.569 MB / 0.7597 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001152/0.6811, allocations: 0.5195 MB / 0.7602 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.6812, allocations: 4 kB / 0.7602 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.6814, allocations: 133.1 kB / 0.7604 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.6829, allocations: 283.1 kB / 0.7606 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00734/0.6903, allocations: 5.202 MB / 0.7657 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.6908, allocations: 0.8903 MB / 0.7666 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006825/0.6914, allocations: 168.9 kB / 0.7668 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/0.6917, allocations: 207.4 kB / 0.767 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/0.6917, allocations: 0 / 0.767 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03045/0.7222, allocations: 15.24 MB / 0.7818 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/0.7224, allocations: 261.1 kB / 0.7821 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.122/2.845, allocations: 0 / 0.7821 GB, free: 2.496 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.fmu > IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1)