Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IDEAS_dev_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.001576/0.001576, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.002051/0.002051, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.522/2.522, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.752/1.752, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005264/0.0005266, allocations: 8 kB / 0.5069 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2869, allocations: 82.31 MB / 0.5873 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 1.004/1.291, allocations: 223.7 MB / 0.8057 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03755/1.329, allocations: 15.84 MB / 0.8212 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004211/1.333, allocations: 55.62 kB / 0.8212 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.005559/1.339, allocations: 0.9954 MB / 0.8222 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0155/1.354, allocations: 3.014 MB / 0.8252 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.009895/1.364, allocations: 1.754 MB / 0.8269 GB, free: 7.051 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009534/1.374, allocations: 2.715 MB / 0.8295 GB, free: 4.332 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005594/1.38, allocations: 1.333 MB / 0.8308 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009679/1.389, allocations: 1.589 MB / 0.8324 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004274/1.394, allocations: 0.9376 MB / 0.8333 GB, free: 456 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001182/1.395, allocations: 76 kB / 0.8334 GB, free: 380 kB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008109/1.403, allocations: 1.314 MB / 0.8346 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002072/1.405, allocations: 0.5531 MB / 0.8352 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002185/1.407, allocations: 432.7 kB / 0.8356 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007952/1.415, allocations: 2.445 MB / 0.838 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/1.415, allocations: 0 / 0.838 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of FrontEnd: time 8.045e-06/1.415, allocations: 4 kB / 0.838 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001718/1.416, allocations: 0 / 0.838 GB, free: 11.62 MB / 0.6544 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.00836/1.424, allocations: 1.997 MB / 0.8399 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.797e-05/1.424, allocations: 8.031 kB / 0.8399 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009741/1.425, allocations: 194.1 kB / 0.8401 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007871/1.433, allocations: 0.6495 MB / 0.8408 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005544/1.439, allocations: 1.281 MB / 0.842 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002073/1.439, allocations: 102.5 kB / 0.8421 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007243/1.44, allocations: 136 kB / 0.8422 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005142/1.445, allocations: 1.557 MB / 0.8438 GB, free: 5.5 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.584e-05/1.445, allocations: 4 kB / 0.8438 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002362/1.445, allocations: 63.98 kB / 0.8438 GB, free: 5.434 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.609e-05/1.445, allocations: 42.45 kB / 0.8439 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003336/1.448, allocations: 1.259 MB / 0.8451 GB, free: 4.125 MB / 0.6544 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.01689/1.465, allocations: 7.204 MB / 0.8521 GB, free: 12.36 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/1.467, allocations: 0.6463 MB / 0.8528 GB, free: 11.7 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/1.467, allocations: 16.55 kB / 0.8528 GB, free: 11.69 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.786e-05/1.467, allocations: 55.02 kB / 0.8528 GB, free: 11.62 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001787/1.469, allocations: 147 kB / 0.853 GB, free: 11.48 MB / 0.67 GB Notification: Performance of pre-optimization done (n=67): time 8.256e-06/1.469, allocations: 0 / 0.853 GB, free: 11.48 MB / 0.67 GB Notification: Performance of matching and sorting (n=67): time 0.003464/1.473, allocations: 1.005 MB / 0.854 GB, free: 10.47 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/1.473, allocations: 63.95 kB / 0.854 GB, free: 10.39 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003636/1.476, allocations: 1.331 MB / 0.8553 GB, free: 9.055 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002295/1.477, allocations: 46.03 kB / 0.8554 GB, free: 9.004 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001092/1.478, allocations: 0.7737 MB / 0.8561 GB, free: 8.223 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004587/1.478, allocations: 244.4 kB / 0.8563 GB, free: 7.98 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/1.478, allocations: 20 kB / 0.8564 GB, free: 7.961 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002212/1.479, allocations: 341.9 kB / 0.8567 GB, free: 7.621 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009372/1.48, allocations: 349.8 kB / 0.857 GB, free: 7.277 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/1.481, allocations: 0.6673 MB / 0.8577 GB, free: 6.473 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/1.482, allocations: 450.8 kB / 0.8581 GB, free: 6.035 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/1.482, allocations: 0 / 0.8581 GB, free: 6.035 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003235/1.485, allocations: 1.136 MB / 0.8592 GB, free: 4.891 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.001605/1.487, allocations: 2.68 MB / 0.8618 GB, free: 2.062 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.159e-05/1.487, allocations: 8 kB / 0.8618 GB, free: 2.055 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.316e-05/1.487, allocations: 12 kB / 0.8619 GB, free: 2.043 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/1.489, allocations: 207.7 kB / 0.8621 GB, free: 1.84 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-05/1.489, allocations: 19.92 kB / 0.8621 GB, free: 1.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002881/1.492, allocations: 119.7 kB / 0.8622 GB, free: 1.703 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/1.492, allocations: 43.98 kB / 0.8622 GB, free: 1.66 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/1.492, allocations: 4 kB / 0.8622 GB, free: 1.656 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002575/1.494, allocations: 0.9764 MB / 0.8632 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.261e-05/1.494, allocations: 8.625 kB / 0.8632 GB, free: 0.668 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.167e-05/1.495, allocations: 12 kB / 0.8632 GB, free: 0.6562 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/1.496, allocations: 207.7 kB / 0.8634 GB, free: 464 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.051e-05/1.496, allocations: 19.88 kB / 0.8634 GB, free: 444 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00263/1.499, allocations: 123.7 kB / 0.8635 GB, free: 320 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/1.499, allocations: 43.98 kB / 0.8636 GB, free: 276 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.7842/2.283, allocations: 498.1 kB / 0.8641 GB, free: 134 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007791/2.284, allocations: 156 kB / 0.8642 GB, free: 134 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/2.286, allocations: 0.8088 MB / 0.865 GB, free: 133.9 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/2.286, allocations: 7.281 kB / 0.865 GB, free: 133.9 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/2.286, allocations: 1.891 kB / 0.865 GB, free: 133.9 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001321/2.287, allocations: 0.7829 MB / 0.8658 GB, free: 133.7 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005652/2.293, allocations: 2.292 MB / 0.868 GB, free: 133.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/2.293, allocations: 2.062 kB / 0.868 GB, free: 133.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/2.294, allocations: 168.9 kB / 0.8682 GB, free: 133.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.35e-05/2.294, allocations: 4.781 kB / 0.8682 GB, free: 133.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.956e-05/2.294, allocations: 21.75 kB / 0.8682 GB, free: 133.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.314e-05/2.294, allocations: 11.66 kB / 0.8682 GB, free: 133.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/2.294, allocations: 3.75 kB / 0.8682 GB, free: 133.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003063/2.297, allocations: 1.389 MB / 0.8696 GB, free: 133 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/2.299, allocations: 320.7 kB / 0.8699 GB, free: 132.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002757/2.299, allocations: 15.97 kB / 0.8699 GB, free: 132.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/2.301, allocations: 99.38 kB / 0.87 GB, free: 132.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/2.301, allocations: 51.62 kB / 0.87 GB, free: 132.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/2.301, allocations: 33.33 kB / 0.8701 GB, free: 132.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002013/2.303, allocations: 0.894 MB / 0.8709 GB, free: 132.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.81e-07/2.303, allocations: 0 / 0.8709 GB, free: 132.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003812/2.307, allocations: 0.8373 MB / 0.8718 GB, free: 132.7 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 (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.00398/2.311, allocations: 2.499 MB / 0.8742 GB, free: 131.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003434/2.314, allocations: 1.313 MB / 0.8755 GB, free: 131.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.41e-05/2.314, allocations: 3.859 kB / 0.8755 GB, free: 131.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007521/2.315, allocations: 346.7 kB / 0.8758 GB, free: 131.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007504/2.323, allocations: 0.824 MB / 0.8766 GB, free: 131.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01371/2.336, allocations: 8.925 MB / 0.8853 GB, free: 124.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001611/2.338, allocations: 1.38 MB / 0.8867 GB, free: 123.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003674/2.342, allocations: 419.5 kB / 0.8871 GB, free: 123.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001414/2.343, allocations: 0.6151 MB / 0.8877 GB, free: 123.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.803e-06/2.343, allocations: 0 / 0.8877 GB, free: 123.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1276/2.471, allocations: 40.36 MB / 0.9271 GB, free: 108.7 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/2.471, allocations: 229.3 kB / 0.9273 GB, free: 108.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.892/6.363, allocations: 2.906 kB / 0.9273 GB, free: 108.5 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) Environment - environmentSimulation: