Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_8_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_8_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",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.0009896/0.0009896, allocations: 99.86 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.001004/0.001004, 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 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.4 MB / 222.1 MB, free: 5.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.666/1.666, allocations: 292.6 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005746/0.000575, allocations: 13.38 kB / 0.6736 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3251, allocations: 116.3 MB / 0.7872 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.8467/1.172, allocations: 176.7 MB / 0.9598 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01306/1.185, allocations: 6.886 MB / 0.9665 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001964/1.187, allocations: 36.81 kB / 0.9665 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002833/1.19, allocations: 0.7253 MB / 0.9672 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008586/1.198, allocations: 2.118 MB / 0.9693 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004378/1.203, allocations: 1.128 MB / 0.9704 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004419/1.207, allocations: 1.624 MB / 0.972 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001701/1.209, allocations: 0.8149 MB / 0.9728 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004154/1.213, allocations: 1.314 MB / 0.9741 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001593/1.215, allocations: 0.618 MB / 0.9747 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001683/1.215, allocations: 46.84 kB / 0.9747 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004077/1.219, allocations: 1.332 MB / 0.976 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004352/1.22, allocations: 310 kB / 0.9763 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008245/1.22, allocations: 274.5 kB / 0.9766 GB, free: 20.78 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002577/1.223, allocations: 1.594 MB / 0.9781 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/1.223, allocations: 2.531 kB / 0.9781 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.715e-06/1.223, allocations: 0 / 0.9781 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.896e-05/1.223, allocations: 4 kB / 0.9781 GB, free: 20.65 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004372/1.227, allocations: 1.581 MB / 0.9797 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/1.227, allocations: 13.91 kB / 0.9797 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002387/1.228, allocations: 131.6 kB / 0.9798 GB, free: 19.74 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00327/1.231, allocations: 0.5895 MB / 0.9804 GB, free: 19.64 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002037/1.233, allocations: 0.9229 MB / 0.9813 GB, free: 19.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006129/1.234, allocations: 201.5 kB / 0.9815 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/1.234, allocations: 81.72 kB / 0.9816 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002708/1.237, allocations: 1.256 MB / 0.9828 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/1.237, allocations: 0 / 0.9828 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/1.237, allocations: 38.86 kB / 0.9828 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.91e-05/1.237, allocations: 47.83 kB / 0.9829 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00362/1.24, allocations: 1.617 MB / 0.9844 GB, free: 18.64 MB / 0.7325 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.006951/1.247, allocations: 4.079 MB / 0.9884 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002483/1.25, allocations: 1.075 MB / 0.9895 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007725/1.251, allocations: 290.4 kB / 0.9898 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/1.251, allocations: 45.44 kB / 0.9898 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 3.196e-06/1.251, allocations: 0 / 0.9898 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.004963/1.256, allocations: 1.909 MB / 0.9917 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/1.256, allocations: 63.45 kB / 0.9917 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/1.257, allocations: 0.8079 MB / 0.9925 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001432/1.257, allocations: 44.42 kB / 0.9926 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002984/1.257, allocations: 444.5 kB / 0.993 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/1.258, allocations: 266.6 kB / 0.9932 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/1.258, allocations: 15.47 kB / 0.9932 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.258, allocations: 334.5 kB / 0.9936 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/1.259, allocations: 0.5564 MB / 0.9941 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/1.261, allocations: 0.6946 MB / 0.9948 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/1.262, allocations: 0.623 MB / 0.9954 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/1.262, allocations: 1.969 kB / 0.9954 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003374/1.265, allocations: 1.428 MB / 0.9968 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002861/1.266, allocations: 0.5564 MB / 0.9973 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.266, allocations: 3 kB / 0.9973 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/1.266, allocations: 7.859 kB / 0.9973 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/1.267, allocations: 288.6 kB / 0.9976 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000751/1.268, allocations: 1.188 MB / 0.9988 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/1.27, allocations: 196.7 kB / 0.999 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.636e-05/1.27, allocations: 39.66 kB / 0.999 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/1.27, allocations: 10.47 kB / 0.999 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003229/1.273, allocations: 1.317 MB / 1 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/1.273, allocations: 0 / 1 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/1.273, allocations: 4.875 kB / 1 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/1.274, allocations: 255 kB / 1.001 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/1.274, allocations: 11.77 kB / 1.001 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/1.276, allocations: 194.2 kB / 1.001 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.612e-05/1.276, allocations: 32.08 kB / 1.001 GB, free: 11.09 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001025/1.277, allocations: 369.9 kB / 1.001 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003005/1.277, allocations: 111.1 kB / 1.001 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003498/1.281, allocations: 1.435 MB / 1.003 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/1.281, allocations: 6.094 kB / 1.003 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/1.281, allocations: 0 / 1.003 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/1.281, allocations: 3.984 kB / 1.003 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006424/1.287, allocations: 2.983 MB / 1.006 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/1.287, allocations: 2.906 kB / 1.006 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/1.289, allocations: 253.5 kB / 1.006 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.861e-05/1.289, allocations: 12.52 kB / 1.006 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.686e-05/1.289, allocations: 26.7 kB / 1.006 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006988/1.29, allocations: 1.195 MB / 1.007 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/1.29, allocations: 8.281 kB / 1.007 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003984/1.294, allocations: 1.757 MB / 1.009 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009558/1.295, allocations: 312.9 kB / 1.009 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/1.295, allocations: 17.5 kB / 1.009 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/1.296, allocations: 159.2 kB / 1.009 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/1.296, allocations: 66.66 kB / 1.009 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-05/1.296, allocations: 37.81 kB / 1.009 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008717/1.297, allocations: 0.5606 MB / 1.01 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.9e-07/1.297, allocations: 0 / 1.01 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001696/1.299, allocations: 0.5342 MB / 1.01 GB, free: 6.68 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004985/1.304, allocations: 3.629 MB / 1.014 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005518/1.309, allocations: 2.144 MB / 1.016 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/1.309, allocations: 0 / 1.016 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001746/1.311, allocations: 0.7126 MB / 1.017 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002929/1.314, allocations: 0.4949 MB / 1.017 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007337/1.321, allocations: 3.774 MB / 1.021 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000941/1.322, allocations: 1.117 MB / 1.022 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00194/1.324, allocations: 391.5 kB / 1.022 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007294/1.325, allocations: 393.2 kB / 1.023 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of SimCode: time 1.683e-06/1.325, allocations: 0 / 1.023 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06293/1.388, allocations: 28.27 MB / 1.05 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002636/1.388, allocations: 279.5 kB / 1.051 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.47/3.859, allocations: 2.531 kB / 1.051 GB, free: 2.148 MB / 0.7637 GB (rm -f Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1) Environment - environmentSimulation: