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.0009833/0.0009835, allocations: 99.78 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.001154/0.001154, allocations: 177.3 kB / 15.95 MB, free: 216 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.592/1.592, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.696/1.696, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0005825/0.0005825, allocations: 13.31 kB / 0.6737 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2873, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.8426/1.13, allocations: 176.7 MB / 0.9598 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01174/1.142, allocations: 6.89 MB / 0.9665 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001965/1.144, allocations: 36.38 kB / 0.9665 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002474/1.146, allocations: 0.7182 MB / 0.9672 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008633/1.155, allocations: 2.119 MB / 0.9693 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004636/1.16, allocations: 1.133 MB / 0.9704 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004591/1.164, allocations: 1.616 MB / 0.972 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002728/1.167, allocations: 0.8193 MB / 0.9728 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005779/1.173, allocations: 1.308 MB / 0.9741 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001725/1.175, allocations: 0.6277 MB / 0.9747 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002185/1.175, allocations: 45.41 kB / 0.9747 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00432/1.179, allocations: 1.329 MB / 0.976 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004043/1.18, allocations: 321.6 kB / 0.9763 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007889/1.18, allocations: 270.6 kB / 0.9766 GB, free: 20.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002642/1.183, allocations: 1.598 MB / 0.9781 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.183, allocations: 0 / 0.9781 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.667e-06/1.183, allocations: 0 / 0.9781 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.526e-05/1.183, allocations: 0 / 0.9781 GB, free: 20.62 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.004359/1.187, allocations: 1.578 MB / 0.9797 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/1.188, allocations: 9.562 kB / 0.9797 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002389/1.188, allocations: 131.9 kB / 0.9798 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003223/1.191, allocations: 0.5973 MB / 0.9804 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/1.193, allocations: 0.9222 MB / 0.9813 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006395/1.194, allocations: 195.7 kB / 0.9815 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/1.194, allocations: 82.5 kB / 0.9816 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002653/1.197, allocations: 1.264 MB / 0.9828 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/1.197, allocations: 0 / 0.9828 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/1.197, allocations: 36.64 kB / 0.9828 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.867e-05/1.197, allocations: 43.67 kB / 0.9829 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00344/1.2, allocations: 1.612 MB / 0.9844 GB, free: 18.61 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.006533/1.207, allocations: 4.088 MB / 0.9884 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002391/1.209, allocations: 1.076 MB / 0.9895 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007231/1.21, allocations: 293 kB / 0.9898 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/1.21, allocations: 41.84 kB / 0.9898 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.485e-06/1.21, allocations: 0 / 0.9898 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.004605/1.215, allocations: 1.913 MB / 0.9917 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/1.215, allocations: 60.28 kB / 0.9917 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009702/1.216, allocations: 0.8084 MB / 0.9925 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001284/1.216, allocations: 43.58 kB / 0.9926 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/1.216, allocations: 448.8 kB / 0.993 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/1.216, allocations: 255.7 kB / 0.9932 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/1.216, allocations: 15.09 kB / 0.9932 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.216, allocations: 334.4 kB / 0.9936 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/1.218, allocations: 0.5652 MB / 0.9941 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/1.219, allocations: 0.6949 MB / 0.9948 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/1.221, allocations: 0.619 MB / 0.9954 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.299e-06/1.221, allocations: 4 kB / 0.9954 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003318/1.224, allocations: 1.429 MB / 0.9968 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002892/1.224, allocations: 0.5594 MB / 0.9973 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/1.224, allocations: 1.859 kB / 0.9973 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/1.224, allocations: 4.938 kB / 0.9974 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/1.226, allocations: 286.4 kB / 0.9976 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008965/1.227, allocations: 1.192 MB / 0.9988 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/1.229, allocations: 195.8 kB / 0.999 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.372e-05/1.229, allocations: 31.83 kB / 0.999 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/1.229, allocations: 5.844 kB / 0.999 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003154/1.232, allocations: 1.317 MB / 1 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.232, allocations: 3.312 kB / 1 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/1.232, allocations: 7.438 kB / 1 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/1.233, allocations: 253.6 kB / 1.001 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/1.233, allocations: 4.906 kB / 1.001 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/1.235, allocations: 198.6 kB / 1.001 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-05/1.235, allocations: 32.11 kB / 1.001 GB, free: 11.05 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.0007757/1.236, allocations: 378.8 kB / 1.001 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/1.236, allocations: 103.2 kB / 1.001 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003453/1.239, allocations: 1.428 MB / 1.003 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/1.239, allocations: 10 kB / 1.003 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.239, allocations: 4.969 kB / 1.003 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/1.239, allocations: 3.984 kB / 1.003 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006062/1.245, allocations: 2.982 MB / 1.006 GB, free: 9.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/1.245, allocations: 9.969 kB / 1.006 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/1.247, allocations: 254.8 kB / 1.006 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/1.247, allocations: 5.938 kB / 1.006 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-05/1.247, allocations: 26.47 kB / 1.006 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006206/1.247, allocations: 1.196 MB / 1.007 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/1.247, allocations: 3.031 kB / 1.007 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004212/1.252, allocations: 1.747 MB / 1.009 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/1.253, allocations: 311.7 kB / 1.009 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/1.253, allocations: 22.78 kB / 1.009 GB, free: 7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/1.254, allocations: 166.3 kB / 1.009 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/1.255, allocations: 61.92 kB / 1.009 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.904e-05/1.255, allocations: 42.22 kB / 1.009 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008813/1.256, allocations: 0.5605 MB / 1.01 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.256, allocations: 0 / 1.01 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001691/1.257, allocations: 0.5375 MB / 1.01 GB, free: 6.648 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.004918/1.262, allocations: 3.628 MB / 1.014 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005232/1.268, allocations: 2.141 MB / 1.016 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/1.268, allocations: 2.906 kB / 1.016 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001653/1.269, allocations: 0.7031 MB / 1.017 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0028/1.272, allocations: 0.5048 MB / 1.017 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006095/1.278, allocations: 3.77 MB / 1.021 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006335/1.279, allocations: 1.117 MB / 1.022 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001767/1.281, allocations: 395.5 kB / 1.022 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005643/1.281, allocations: 394.1 kB / 1.023 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of SimCode: time 8.72e-07/1.281, allocations: 0 / 1.023 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0555/1.337, allocations: 28.25 MB / 1.05 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002601/1.337, allocations: 269.4 kB / 1.051 GB, free: 2.125 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.483/3.82, allocations: 4.062 kB / 1.051 GB, free: 2.121 MB / 0.7637 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: