Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IDEAS_IDEAS_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.001369/0.001369, allocations: 108 kB / 15.61 MB, free: 152 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.001561/0.001561, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7372/0.7372, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 64.42 kB / 0.5019 GB, free: 8.617 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1318, allocations: 80.19 MB / 0.5802 GB, free: 8.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.4321/0.5639, allocations: 274.6 MB / 0.8484 GB, free: 15.78 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.3378/0.9017, allocations: 17.34 MB / 0.8653 GB, free: 27.75 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002291/0.904, allocations: 70.72 kB / 0.8653 GB, free: 27.75 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002634/0.9067, allocations: 1.162 MB / 0.8665 GB, free: 27.75 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006988/0.9137, allocations: 3.095 MB / 0.8695 GB, free: 27.75 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004849/0.9186, allocations: 2.193 MB / 0.8716 GB, free: 27.7 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005669/0.9243, allocations: 4.818 MB / 0.8764 GB, free: 27.7 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00254/0.9268, allocations: 1.767 MB / 0.8781 GB, free: 27.52 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005608/0.9325, allocations: 2.389 MB / 0.8804 GB, free: 27.5 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003062/0.9355, allocations: 1.538 MB / 0.8819 GB, free: 27.49 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006731/0.9362, allocations: 191.7 kB / 0.8821 GB, free: 27.49 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006406/0.9426, allocations: 3.01 MB / 0.885 GB, free: 27.46 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001206/0.9439, allocations: 0.7239 MB / 0.8857 GB, free: 27.46 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002718/0.9466, allocations: 1.121 MB / 0.8868 GB, free: 27.46 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006776/0.9534, allocations: 3.798 MB / 0.8905 GB, free: 27.24 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.9534, allocations: 1 kB / 0.8905 GB, free: 27.24 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9534, allocations: 3.219 kB / 0.8905 GB, free: 27.24 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.768e-05/0.9535, allocations: 0.5938 kB / 0.8905 GB, free: 27.24 MB / 0.67 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.00485/0.9583, allocations: 2.43 MB / 0.8929 GB, free: 26.04 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.9584, allocations: 10 kB / 0.8929 GB, free: 26.04 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002705/0.9587, allocations: 200 kB / 0.8931 GB, free: 26 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004586/0.9632, allocations: 0.6368 MB / 0.8937 GB, free: 25.9 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/0.9656, allocations: 1.327 MB / 0.895 GB, free: 25.48 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.903e-05/0.9657, allocations: 104.3 kB / 0.8951 GB, free: 25.47 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.966, allocations: 141 kB / 0.8953 GB, free: 25.47 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002538/0.9685, allocations: 1.568 MB / 0.8968 GB, free: 25.28 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/0.9685, allocations: 7.5 kB / 0.8968 GB, free: 25.28 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/0.9687, allocations: 56.06 kB / 0.8969 GB, free: 25.28 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.564e-05/0.9688, allocations: 55.56 kB / 0.8969 GB, free: 25.27 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/0.9708, allocations: 1.262 MB / 0.8982 GB, free: 25.25 MB / 0.67 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.008017/0.9788, allocations: 7.255 MB / 0.9052 GB, free: 21.39 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009619/0.9798, allocations: 0.6467 MB / 0.9059 GB, free: 21.36 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004696/0.9802, allocations: 367.2 kB / 0.9062 GB, free: 21.35 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/0.9804, allocations: 109 kB / 0.9063 GB, free: 21.26 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.9805, allocations: 44.56 kB / 0.9064 GB, free: 21.22 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006525/0.9811, allocations: 108.7 kB / 0.9065 GB, free: 21.17 MB / 0.67 GB Notification: Performance of pre-optimization done (n=67): time 2.575e-06/0.9811, allocations: 0.5938 kB / 0.9065 GB, free: 21.17 MB / 0.67 GB Notification: Performance of matching and sorting (n=67): time 0.001717/0.9829, allocations: 1.011 MB / 0.9075 GB, free: 21.05 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.9829, allocations: 62.88 kB / 0.9075 GB, free: 20.98 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.9844, allocations: 1.339 MB / 0.9088 GB, free: 20.81 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.373e-05/0.9844, allocations: 47.75 kB / 0.9089 GB, free: 20.78 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004163/0.9849, allocations: 0.7692 MB / 0.9096 GB, free: 20.49 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.985, allocations: 248.5 kB / 0.9099 GB, free: 20.33 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002856/0.9853, allocations: 200.6 kB / 0.91 GB, free: 20.31 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.901e-05/0.9854, allocations: 342.9 kB / 0.9104 GB, free: 20 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004984/0.9859, allocations: 353.8 kB / 0.9107 GB, free: 20 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006428/0.9865, allocations: 0.679 MB / 0.9114 GB, free: 19.64 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.9876, allocations: 0.9499 MB / 0.9123 GB, free: 19.39 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.9876, allocations: 3.219 kB / 0.9123 GB, free: 19.39 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001508/0.9891, allocations: 1.145 MB / 0.9134 GB, free: 19.28 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.9892, allocations: 13.81 kB / 0.9134 GB, free: 19.27 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.9892, allocations: 5.906 kB / 0.9134 GB, free: 19.27 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.9892, allocations: 11.59 kB / 0.9135 GB, free: 19.27 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000876/0.9901, allocations: 209.8 kB / 0.9137 GB, free: 19.27 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.9901, allocations: 16.28 kB / 0.9137 GB, free: 19.27 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.9915, allocations: 62.08 kB / 0.9137 GB, free: 19.27 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.331e-05/0.9916, allocations: 41.81 kB / 0.9138 GB, free: 19.27 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009699/0.9926, allocations: 0.687 MB / 0.9144 GB, free: 19.18 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006651/0.9932, allocations: 0.675 MB / 0.9151 GB, free: 18.82 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00105/0.9943, allocations: 0.9503 MB / 0.916 GB, free: 18.58 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.937e-06/0.9943, allocations: 3.094 kB / 0.916 GB, free: 18.58 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001548/0.9959, allocations: 1.147 MB / 0.9172 GB, free: 18.46 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.9959, allocations: 11.28 kB / 0.9172 GB, free: 18.46 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.9959, allocations: 10.31 kB / 0.9172 GB, free: 18.46 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.9959, allocations: 11.91 kB / 0.9172 GB, free: 18.46 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007963/0.9967, allocations: 208.2 kB / 0.9174 GB, free: 18.46 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.9967, allocations: 15.45 kB / 0.9174 GB, free: 18.46 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.9982, allocations: 59.33 kB / 0.9175 GB, free: 18.46 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.905e-05/0.9982, allocations: 39.09 kB / 0.9175 GB, free: 18.46 MB / 0.67 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002334/0.9985, allocations: 242.2 kB / 0.9177 GB, free: 18.28 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.9987, allocations: 152.9 kB / 0.9179 GB, free: 18.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.9999, allocations: 0.8198 MB / 0.9187 GB, free: 18.14 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.9999, allocations: 6.312 kB / 0.9187 GB, free: 18.14 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1, allocations: 0 / 0.9187 GB, free: 18.14 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008062/1.001, allocations: 0.7953 MB / 0.9195 GB, free: 17.88 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002903/1.004, allocations: 2.295 MB / 0.9217 GB, free: 17.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.004, allocations: 0 / 0.9217 GB, free: 17.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007982/1.004, allocations: 174.3 kB / 0.9219 GB, free: 17.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/1.005, allocations: 7.75 kB / 0.9219 GB, free: 17.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.796e-05/1.005, allocations: 15.03 kB / 0.9219 GB, free: 17.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/1.005, allocations: 4.656 kB / 0.9219 GB, free: 17.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.005, allocations: 3.406 kB / 0.9219 GB, free: 17.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/1.006, allocations: 1.311 MB / 0.9232 GB, free: 17.22 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004624/1.007, allocations: 320.8 kB / 0.9235 GB, free: 17.05 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/1.007, allocations: 19.56 kB / 0.9235 GB, free: 17.05 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008992/1.008, allocations: 30.08 kB / 0.9235 GB, free: 17.05 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.632e-05/1.008, allocations: 47.83 kB / 0.9236 GB, free: 17.04 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/1.008, allocations: 33.23 kB / 0.9236 GB, free: 17.04 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000998/1.009, allocations: 0.9074 MB / 0.9245 GB, free: 16.93 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/1.009, allocations: 0 / 0.9245 GB, free: 16.93 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001815/1.011, allocations: 0.8378 MB / 0.9253 GB, free: 16.83 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.U,humBac.vol.dynBal.m,humBac.vol.dynBal.mXi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m,humFor.vol.dynBal.mXi[1]) * 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 (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.002016/1.013, allocations: 2.007 MB / 0.9273 GB, free: 16.02 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002214/1.015, allocations: 1.443 MB / 0.9287 GB, free: 16 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.015, allocations: 0 / 0.9287 GB, free: 16 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004117/1.015, allocations: 354.8 kB / 0.929 GB, free: 16 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003734/1.019, allocations: 0.8456 MB / 0.9298 GB, free: 15.93 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/1.031, allocations: 11.57 MB / 0.9411 GB, free: 11.41 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006543/1.032, allocations: 1.345 MB / 0.9424 GB, free: 10.68 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00171/1.034, allocations: 416.8 kB / 0.9428 GB, free: 10.58 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006666/1.034, allocations: 0.6151 MB / 0.9434 GB, free: 10.57 MB / 0.67 GB Notification: Performance of SimCode: time 9.12e-07/1.034, allocations: 4 kB / 0.9434 GB, free: 10.57 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7905/1.825, allocations: 41.41 MB / 0.9839 GB, free: 3.211 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/14.24, allocations: 0.6562 kB / 0.9839 GB, free: 3.211 MB / 0.7012 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)