Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.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.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier",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.001608/0.001608, allocations: 96.89 kB / 15.69 MB, free: 480 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.001848/0.001848, allocations: 176.5 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.472/2.472, allocations: 223.2 MB / 240.5 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.143/1.143, allocations: 113.7 MB / 405.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005701/0.0005708, allocations: 8.781 kB / 493 MB, free: 8.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3173, allocations: 77.12 MB / 0.5567 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 1.414/1.732, allocations: 223.7 MB / 0.7752 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.04704/1.779, allocations: 15.84 MB / 0.7906 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006264/1.785, allocations: 55.62 kB / 0.7907 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.008515/1.794, allocations: 0.9954 MB / 0.7917 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02516/1.819, allocations: 3.024 MB / 0.7946 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0153/1.835, allocations: 1.764 MB / 0.7963 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01729/1.852, allocations: 2.731 MB / 0.799 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009958/1.862, allocations: 1.338 MB / 0.8003 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01128/1.874, allocations: 1.593 MB / 0.8019 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006049/1.88, allocations: 0.9416 MB / 0.8028 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001506/1.881, allocations: 76 kB / 0.8029 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01068/1.892, allocations: 1.318 MB / 0.8041 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002857/1.895, allocations: 0.5492 MB / 0.8047 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00309/1.898, allocations: 440.6 kB / 0.8051 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01065/1.909, allocations: 2.451 MB / 0.8075 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.809e-06/1.909, allocations: 0 / 0.8075 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of FrontEnd: time 6.903e-06/1.909, allocations: 0 / 0.8075 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001494/1.909, allocations: 0 / 0.8075 GB, free: 9.176 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.0109/1.92, allocations: 2 MB / 0.8095 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 9.002e-05/1.92, allocations: 8.031 kB / 0.8095 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001341/1.922, allocations: 194.1 kB / 0.8096 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01039/1.932, allocations: 0.6494 MB / 0.8103 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007099/1.939, allocations: 1.288 MB / 0.8115 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001881/1.94, allocations: 106.5 kB / 0.8116 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005401/1.94, allocations: 136 kB / 0.8118 GB, free: 4.668 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006483/1.947, allocations: 1.549 MB / 0.8133 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.129e-05/1.947, allocations: 3.938 kB / 0.8133 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003074/1.947, allocations: 56 kB / 0.8133 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001497/1.947, allocations: 46.45 kB / 0.8134 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005335/1.953, allocations: 1.263 MB / 0.8146 GB, free: 1.676 MB / 0.6231 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.8412/2.794, allocations: 7.219 MB / 0.8217 GB, free: 125.5 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002661/2.797, allocations: 0.6431 MB / 0.8223 GB, free: 125.4 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/2.797, allocations: 18.06 kB / 0.8223 GB, free: 125.4 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.101e-05/2.797, allocations: 45.38 kB / 0.8224 GB, free: 125.4 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002104/2.799, allocations: 150.4 kB / 0.8225 GB, free: 125.4 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=67): time 1.007e-05/2.799, allocations: 0 / 0.8225 GB, free: 125.4 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67): time 0.004452/2.804, allocations: 1.015 MB / 0.8235 GB, free: 125.2 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/2.804, allocations: 58.91 kB / 0.8235 GB, free: 125.2 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009189/2.813, allocations: 1.332 MB / 0.8248 GB, free: 125 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0004841/2.813, allocations: 45.14 kB / 0.8249 GB, free: 125 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001518/2.815, allocations: 0.7736 MB / 0.8256 GB, free: 124.7 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006974/2.816, allocations: 244.1 kB / 0.8259 GB, free: 124.6 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.627e-05/2.816, allocations: 19.75 kB / 0.8259 GB, free: 124.6 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002257/2.816, allocations: 342.9 kB / 0.8262 GB, free: 124.3 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/2.817, allocations: 343.5 kB / 0.8265 GB, free: 124.3 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/2.819, allocations: 0.6666 MB / 0.8272 GB, free: 123.9 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/2.82, allocations: 466.1 kB / 0.8276 GB, free: 123.9 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/2.82, allocations: 2.438 kB / 0.8276 GB, free: 123.9 MB / 0.6231 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004359/2.825, allocations: 1.139 MB / 0.8288 GB, free: 123.8 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006907/2.826, allocations: 2.673 MB / 0.8314 GB, free: 121 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-05/2.826, allocations: 10.09 kB / 0.8314 GB, free: 121 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.599e-05/2.826, allocations: 11.97 kB / 0.8314 GB, free: 121 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001939/2.828, allocations: 210.4 kB / 0.8316 GB, free: 121 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.508e-05/2.828, allocations: 18.05 kB / 0.8316 GB, free: 121 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003547/2.831, allocations: 136.3 kB / 0.8317 GB, free: 121 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002074/2.832, allocations: 42.52 kB / 0.8318 GB, free: 121 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/2.832, allocations: 7.953 kB / 0.8318 GB, free: 121 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003436/2.835, allocations: 0.9806 MB / 0.8327 GB, free: 121 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-05/2.835, allocations: 6.469 kB / 0.8327 GB, free: 121 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.383e-05/2.835, allocations: 12.06 kB / 0.8328 GB, free: 121 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/2.837, allocations: 213.9 kB / 0.833 GB, free: 121 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.527e-05/2.837, allocations: 15.89 kB / 0.833 GB, free: 121 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007696/2.845, allocations: 134.1 kB / 0.8331 GB, free: 121 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002093/2.845, allocations: 40.06 kB / 0.8331 GB, free: 121 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * Array equations: 2 * 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.001898/2.847, allocations: 0.4889 MB / 0.8336 GB, free: 120.8 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00065/2.848, allocations: 156.8 kB / 0.8338 GB, free: 120.7 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002773/2.85, allocations: 0.8222 MB / 0.8346 GB, free: 120.6 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/2.85, allocations: 7.031 kB / 0.8346 GB, free: 120.6 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/2.85, allocations: 3.812 kB / 0.8346 GB, free: 120.6 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001943/2.852, allocations: 0.7838 MB / 0.8354 GB, free: 120.4 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007104/2.86, allocations: 2.307 MB / 0.8376 GB, free: 120 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/2.86, allocations: 1.75 kB / 0.8376 GB, free: 120 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001605/2.861, allocations: 166.8 kB / 0.8378 GB, free: 120 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.14e-05/2.861, allocations: 4.25 kB / 0.8378 GB, free: 120 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.505e-05/2.861, allocations: 19.38 kB / 0.8378 GB, free: 120 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.738e-05/2.861, allocations: 7.953 kB / 0.8378 GB, free: 120 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/2.861, allocations: 1.219 kB / 0.8378 GB, free: 120 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004405/2.866, allocations: 1.34 MB / 0.8391 GB, free: 119.6 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001764/2.868, allocations: 328 kB / 0.8394 GB, free: 119.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004565/2.868, allocations: 17.38 kB / 0.8394 GB, free: 119.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006132/2.874, allocations: 97.53 kB / 0.8395 GB, free: 119.4 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/2.874, allocations: 42.77 kB / 0.8396 GB, free: 119.4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/2.875, allocations: 36.14 kB / 0.8396 GB, free: 119.4 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00226/2.877, allocations: 0.8956 MB / 0.8405 GB, free: 119.3 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.21e-07/2.877, allocations: 0 / 0.8405 GB, free: 119.3 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004933/2.882, allocations: 0.844 MB / 0.8413 GB, free: 119.2 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.medium.Xi[1],humBac.vol.dynBal.U,humBac.vol.dynBal.m,humFor.vol.dynBal.medium.Xi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 71 * 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 Backend phase and start with SimCode phase: time 0.004459/2.886, allocations: 2.435 MB / 0.8437 GB, free: 117.9 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004305/2.891, allocations: 1.316 MB / 0.845 GB, free: 117.9 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-05/2.891, allocations: 2.375 kB / 0.845 GB, free: 117.9 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/2.892, allocations: 349.3 kB / 0.8453 GB, free: 117.9 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01171/2.904, allocations: 0.8295 MB / 0.8461 GB, free: 117.9 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01841/2.922, allocations: 8.947 MB / 0.8548 GB, free: 111 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/2.923, allocations: 1.384 MB / 0.8562 GB, free: 110.2 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.003341/2.927, allocations: 418.8 kB / 0.8566 GB, free: 110 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/2.928, allocations: 0.6105 MB / 0.8572 GB, free: 109.9 MB / 0.6231 GB Notification: Performance of SimCode: time 2.474e-06/2.928, allocations: 0 / 0.8572 GB, free: 109.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2302/3.159, allocations: 40.35 MB / 0.8966 GB, free: 73.82 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003126/3.159, allocations: 229.3 kB / 0.8968 GB, free: 73.57 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.139/8.298, allocations: 3.5 kB / 0.8968 GB, free: 73.57 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) Environment - environmentSimulation: