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.007731/0.007731, allocations: 97.42 kB / 15.73 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001926/0.001926, allocations: 193.2 kB / 16.68 MB, free: 5.523 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8378/0.8378, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 64.17 kB / 0.5809 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1242, allocations: 80.2 MB / 0.6592 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.5927/0.7169, allocations: 274.6 MB / 0.9274 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02385/0.7408, allocations: 17.35 MB / 0.9443 GB, free: 1.918 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002053/0.7429, allocations: 79.5 kB / 0.9444 GB, free: 1.84 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002959/0.7459, allocations: 1.157 MB / 0.9455 GB, free: 0.6758 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.007545/0.7535, allocations: 3.1 MB / 0.9485 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005457/0.7589, allocations: 2.202 MB / 0.9507 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007097/0.766, allocations: 4.822 MB / 0.9554 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002913/0.769, allocations: 1.765 MB / 0.9571 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005745/0.7747, allocations: 2.408 MB / 0.9595 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003079/0.7778, allocations: 1.53 MB / 0.961 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005234/0.7784, allocations: 192 kB / 0.9611 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006226/0.7846, allocations: 3.016 MB / 0.9641 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001046/0.7857, allocations: 0.7207 MB / 0.9648 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002016/0.7877, allocations: 1.116 MB / 0.9659 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006961/0.7947, allocations: 3.843 MB / 0.9696 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.7947, allocations: 3.938 kB / 0.9696 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.654e-06/0.7947, allocations: 0 / 0.9696 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.514e-05/0.7948, allocations: 0 / 0.9696 GB, free: 7.91 MB / 0.7325 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.005096/0.7999, allocations: 2.504 MB / 0.9721 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.7999, allocations: 8.031 kB / 0.9721 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002571/0.8002, allocations: 194.1 kB / 0.9723 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00452/0.8047, allocations: 0.6428 MB / 0.9729 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002491/0.8072, allocations: 1.417 MB / 0.9743 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.771e-05/0.8073, allocations: 98.55 kB / 0.9744 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000213/0.8076, allocations: 136 kB / 0.9745 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002698/0.8103, allocations: 1.577 MB / 0.9761 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.583e-05/0.8103, allocations: 4 kB / 0.9761 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/0.8105, allocations: 59.94 kB / 0.9761 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.777e-05/0.8105, allocations: 42.45 kB / 0.9762 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/0.8128, allocations: 1.267 MB / 0.9774 GB, free: 15.76 MB / 0.7481 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.009143/0.822, allocations: 7.2 MB / 0.9844 GB, free: 7.988 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.823, allocations: 0.6578 MB / 0.9851 GB, free: 7.324 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000549/0.8236, allocations: 367 kB / 0.9854 GB, free: 6.965 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/0.8238, allocations: 109.6 kB / 0.9855 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/0.8239, allocations: 43.12 kB / 0.9856 GB, free: 6.789 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000456/0.8243, allocations: 107.3 kB / 0.9857 GB, free: 6.684 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=67): time 2.184e-06/0.8243, allocations: 0 / 0.9857 GB, free: 6.684 MB / 0.7481 GB Notification: Performance of matching and sorting (n=67): time 0.001934/0.8263, allocations: 1.021 MB / 0.9867 GB, free: 5.656 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.8263, allocations: 55.97 kB / 0.9867 GB, free: 5.586 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.828, allocations: 1.339 MB / 0.988 GB, free: 4.238 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.253e-05/0.8281, allocations: 45.7 kB / 0.9881 GB, free: 4.188 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006538/0.8288, allocations: 0.7908 MB / 0.9888 GB, free: 3.391 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/0.829, allocations: 257.8 kB / 0.9891 GB, free: 3.137 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003219/0.8294, allocations: 194.6 kB / 0.9893 GB, free: 2.941 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.8295, allocations: 349.9 kB / 0.9896 GB, free: 2.594 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005855/0.8301, allocations: 352.7 kB / 0.9899 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008797/0.831, allocations: 0.683 MB / 0.9906 GB, free: 1.422 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.8324, allocations: 0.9488 MB / 0.9915 GB, free: 396 kB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.8324, allocations: 4 kB / 0.9915 GB, free: 392 kB / 0.7481 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001859/0.8342, allocations: 1.157 MB / 0.9927 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.8343, allocations: 8 kB / 0.9927 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.8343, allocations: 8 kB / 0.9927 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.8343, allocations: 12 kB / 0.9927 GB, free: 15.19 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008906/0.8352, allocations: 203.7 kB / 0.9929 GB, free: 14.99 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.985e-05/0.8352, allocations: 15.94 kB / 0.9929 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.8364, allocations: 43.97 kB / 0.9929 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.541e-05/0.8365, allocations: 51.95 kB / 0.993 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00105/0.8375, allocations: 0.6854 MB / 0.9937 GB, free: 14.19 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008739/0.8384, allocations: 0.6761 MB / 0.9943 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001346/0.8398, allocations: 0.9488 MB / 0.9953 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.09e-06/0.8398, allocations: 4 kB / 0.9953 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.00182/0.8416, allocations: 1.152 MB / 0.9964 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.8416, allocations: 8 kB / 0.9964 GB, free: 11.17 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.8416, allocations: 15.98 kB / 0.9964 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.8417, allocations: 12.33 kB / 0.9964 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008391/0.8425, allocations: 204.3 kB / 0.9966 GB, free: 10.94 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.978e-05/0.8425, allocations: 15.94 kB / 0.9966 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.8437, allocations: 61.56 kB / 0.9967 GB, free: 10.87 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.391e-05/0.8438, allocations: 43.98 kB / 0.9967 GB, free: 10.82 MB / 0.7637 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.0002388/0.844, allocations: 247.9 kB / 0.997 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002378/0.8443, allocations: 155 kB / 0.9971 GB, free: 10.42 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.8457, allocations: 0.8218 MB / 0.9979 GB, free: 9.582 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.8457, allocations: 4 kB / 0.9979 GB, free: 9.578 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.8457, allocations: 4 kB / 0.9979 GB, free: 9.574 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001049/0.8468, allocations: 0.7823 MB / 0.9987 GB, free: 8.742 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003223/0.85, allocations: 2.294 MB / 1.001 GB, free: 6.367 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.85, allocations: 0 / 1.001 GB, free: 6.367 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008352/0.8509, allocations: 175.7 kB / 1.001 GB, free: 6.195 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.8509, allocations: 4 kB / 1.001 GB, free: 6.191 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.608e-05/0.851, allocations: 20 kB / 1.001 GB, free: 6.172 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.851, allocations: 4.188 kB / 1.001 GB, free: 6.168 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.851, allocations: 7.984 kB / 1.001 GB, free: 6.16 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.8528, allocations: 1.317 MB / 1.002 GB, free: 4.809 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004622/0.8533, allocations: 335.9 kB / 1.003 GB, free: 4.461 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/0.8535, allocations: 19.98 kB / 1.003 GB, free: 4.441 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008365/0.8543, allocations: 34.78 kB / 1.003 GB, free: 4.41 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.8544, allocations: 40.52 kB / 1.003 GB, free: 4.371 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.666e-05/0.8545, allocations: 31.97 kB / 1.003 GB, free: 4.34 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001194/0.8557, allocations: 0.9083 MB / 1.004 GB, free: 3.434 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8557, allocations: 0 / 1.004 GB, free: 3.434 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00171/0.8574, allocations: 0.8423 MB / 1.005 GB, free: 2.59 MB / 0.7637 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.002567/0.86, allocations: 2.024 MB / 1.007 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002112/0.8621, allocations: 1.339 MB / 1.008 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.8621, allocations: 0 / 1.008 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005076/0.8627, allocations: 347.5 kB / 1.008 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00349/0.8662, allocations: 0.8378 MB / 1.009 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01453/0.8807, allocations: 10.68 MB / 1.019 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.8817, allocations: 1.356 MB / 1.021 GB, free: 1.656 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001286/0.883, allocations: 412.3 kB / 1.021 GB, free: 1.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008329/0.8839, allocations: 0.6086 MB / 1.022 GB, free: 0.6406 MB / 0.7794 GB Notification: Performance of SimCode: time 3.8e-07/0.8839, allocations: 0 / 1.022 GB, free: 0.6406 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8026/1.686, allocations: 41.75 MB / 1.063 GB, free: 312.5 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.2/15.89, allocations: 4.125 kB / 1.063 GB, free: 312.5 MB / 0.8106 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)