Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",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.001095/0.001095, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001358/0.001358, allocations: 172.7 kB / 15.95 MB, free: 208 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.487/1.487, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.744/1.744, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005391/0.0005393, allocations: 16.98 kB / 0.6738 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2288, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.697/0.9258, allocations: 195.2 MB / 0.978 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009885/0.9358, allocations: 6.53 MB / 0.9844 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001581/0.9374, allocations: 39.91 kB / 0.9844 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.9391, allocations: 0.501 MB / 0.9849 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005588/0.9447, allocations: 1.779 MB / 0.9867 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002806/0.9475, allocations: 0.9034 MB / 0.9875 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00374/0.9512, allocations: 3.18 MB / 0.9906 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.9524, allocations: 0.7794 MB / 0.9914 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00346/0.9558, allocations: 1.523 MB / 0.9929 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.9574, allocations: 0.8656 MB / 0.9937 GB, free: 224 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.9575, allocations: 45.59 kB / 0.9938 GB, free: 224 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003873/0.9614, allocations: 1.538 MB / 0.9953 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004219/0.9618, allocations: 345.2 kB / 0.9956 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004085/0.9623, allocations: 271.3 kB / 0.9959 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002536/0.9648, allocations: 1.71 MB / 0.9975 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.9648, allocations: 0 / 0.9975 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9648, allocations: 1.969 kB / 0.9975 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.395e-05/0.9649, allocations: 0 / 0.9975 GB, free: 14.7 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.003853/0.9687, allocations: 1.617 MB / 0.9991 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.9688, allocations: 11.75 kB / 0.9991 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001702/0.969, allocations: 129.3 kB / 0.9993 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002788/0.9717, allocations: 0.5881 MB / 0.9998 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/0.9734, allocations: 0.9276 MB / 1.001 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005404/0.9739, allocations: 204 kB / 1.001 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.9741, allocations: 85.83 kB / 1.001 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/0.9765, allocations: 1.259 MB / 1.002 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.9765, allocations: 3.938 kB / 1.002 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.123e-05/0.9766, allocations: 32.97 kB / 1.002 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.188e-05/0.9767, allocations: 46.36 kB / 1.002 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003212/0.9799, allocations: 1.616 MB / 1.004 GB, free: 12.1 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.005675/0.9856, allocations: 4.093 MB / 1.008 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/0.9878, allocations: 1.046 MB / 1.009 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.9892, allocations: 0.6921 MB / 1.01 GB, free: 9.363 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/0.9903, allocations: 0.6394 MB / 1.01 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.9904, allocations: 44.28 kB / 1.01 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.735e-06/0.9904, allocations: 2.938 kB / 1.01 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.004509/0.9949, allocations: 1.911 MB / 1.012 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.9949, allocations: 59.81 kB / 1.012 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.9963, allocations: 0.8156 MB / 1.013 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001163/0.9965, allocations: 43.45 kB / 1.013 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003604/0.9968, allocations: 439 kB / 1.013 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.997, allocations: 262.7 kB / 1.014 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.9971, allocations: 17.66 kB / 1.014 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.9972, allocations: 339.7 kB / 1.014 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.9985, allocations: 0.5592 MB / 1.015 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001414/0.9999, allocations: 0.6962 MB / 1.015 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/1.001, allocations: 0.619 MB / 1.016 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/1.001, allocations: 0 / 1.016 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003069/1.004, allocations: 1.425 MB / 1.017 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001477/1.005, allocations: 149.4 kB / 1.017 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.005, allocations: 3.406 kB / 1.017 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/1.005, allocations: 6.906 kB / 1.017 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/1.006, allocations: 281.6 kB / 1.018 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008142/1.007, allocations: 1.195 MB / 1.019 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/1.008, allocations: 200 kB / 1.019 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/1.008, allocations: 31.73 kB / 1.019 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/1.008, allocations: 9.891 kB / 1.019 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002856/1.011, allocations: 1.316 MB / 1.02 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.011, allocations: 3.938 kB / 1.02 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/1.011, allocations: 5.062 kB / 1.02 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/1.012, allocations: 248 kB / 1.021 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/1.012, allocations: 9.516 kB / 1.021 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/1.014, allocations: 194.6 kB / 1.021 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.6e-05/1.014, allocations: 38.34 kB / 1.021 GB, free: 4.359 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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.0006597/1.015, allocations: 375.8 kB / 1.021 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002598/1.015, allocations: 102.4 kB / 1.021 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00326/1.018, allocations: 1.427 MB / 1.023 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/1.018, allocations: 8.969 kB / 1.023 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/1.018, allocations: 3.953 kB / 1.023 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/1.018, allocations: 3.984 kB / 1.023 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005578/1.024, allocations: 2.924 MB / 1.026 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/1.024, allocations: 2.312 kB / 1.026 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/1.025, allocations: 254.3 kB / 1.026 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-05/1.025, allocations: 5.781 kB / 1.026 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.24e-05/1.025, allocations: 23.77 kB / 1.026 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007304/1.026, allocations: 1.194 MB / 1.027 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.026, allocations: 8.531 kB / 1.027 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003142/1.029, allocations: 1.538 MB / 1.029 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007085/1.03, allocations: 312.7 kB / 1.029 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002603/1.03, allocations: 19.39 kB / 1.029 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/1.031, allocations: 160.8 kB / 1.029 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/1.031, allocations: 65.31 kB / 1.029 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.677e-05/1.031, allocations: 39.72 kB / 1.029 GB, free: 496 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000901/1.032, allocations: 0.5557 MB / 1.03 GB, free: 300 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.032, allocations: 4.25 kB / 1.03 GB, free: 300 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001778/1.034, allocations: 0.5347 MB / 1.03 GB, free: 52 kB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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.004053/1.038, allocations: 2.246 MB / 1.032 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005084/1.043, allocations: 2.149 MB / 1.034 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/1.043, allocations: 4 kB / 1.034 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001586/1.045, allocations: 0.7048 MB / 1.035 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/1.048, allocations: 0.5107 MB / 1.036 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/1.063, allocations: 6.946 MB / 1.042 GB, free: 5.086 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007485/1.063, allocations: 1.091 MB / 1.043 GB, free: 3.965 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001763/1.065, allocations: 391.5 kB / 1.044 GB, free: 3.578 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006592/1.066, allocations: 397.2 kB / 1.044 GB, free: 3.191 MB / 0.7481 GB Notification: Performance of SimCode: time 7.62e-07/1.066, allocations: 0 / 1.044 GB, free: 3.191 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06267/1.128, allocations: 28.73 MB / 1.072 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00035/1.129, allocations: 280.4 kB / 1.073 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.594/3.723, allocations: 0 / 1.073 GB, free: 6.605 MB / 0.7794 GB (rm -f Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) Environment - environmentSimulation: