Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001547/0.001548, allocations: 177.6 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5279/0.5279, allocations: 90.92 MB / 99.35 MB, free: 2.152 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 221.5 MB / 343.2 MB, free: 1.574 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000905/0.0009049, allocations: 95.94 kB / 415.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.293e-05/2.295e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1454, allocations: 72.31 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.229/4.374, allocations: 1.848 GB / 2.402 GB, free: 84.62 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/4.374, allocations: 87.94 kB / 2.402 GB, free: 84.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.993/8.367, allocations: 0.9979 GB / 3.4 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.523e-06/8.368, allocations: 0 / 3.4 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001232/8.368, allocations: 35.98 kB / 3.4 GB, free: 19.96 MB / 0.6198 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.007869/8.376, allocations: 1.786 MB / 3.402 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.52e-05/8.376, allocations: 11.97 kB / 3.402 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003683/8.379, allocations: 0.5448 MB / 3.402 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003068/8.382, allocations: 1.074 MB / 3.403 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006174/8.383, allocations: 169.9 kB / 3.404 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/8.383, allocations: 52 kB / 3.404 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001726/8.385, allocations: 0.9957 MB / 3.405 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/8.387, allocations: 1.029 MB / 3.406 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/8.387, allocations: 0 / 3.406 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.342e-05/8.387, allocations: 0 / 3.406 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.5e-05/8.387, allocations: 45.92 kB / 3.406 GB, free: 14.14 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or 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.007074/8.394, allocations: 4.024 MB / 3.41 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/8.395, allocations: 0.7241 MB / 3.41 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006012/8.396, allocations: 0.4897 MB / 3.411 GB, free: 8.637 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009766/8.397, allocations: 0.6127 MB / 3.411 GB, free: 7.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/8.397, allocations: 51.23 kB / 3.411 GB, free: 7.852 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=76): time 2.926e-06/8.397, allocations: 4 kB / 3.411 GB, free: 7.848 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76): time 0.002459/8.399, allocations: 1.128 MB / 3.412 GB, free: 6.715 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/8.399, allocations: 60.19 kB / 3.413 GB, free: 6.641 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007402/8.4, allocations: 0.5592 MB / 3.413 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.726e-05/8.4, allocations: 29.7 kB / 3.413 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/8.4, allocations: 452.3 kB / 3.414 GB, free: 5.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/8.401, allocations: 252.2 kB / 3.414 GB, free: 5.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.903e-05/8.401, allocations: 0 / 3.414 GB, free: 5.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.954e-05/8.401, allocations: 334 kB / 3.414 GB, free: 5.008 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004966/8.401, allocations: 397.4 kB / 3.414 GB, free: 4.621 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006054/8.402, allocations: 0.5231 MB / 3.415 GB, free: 4.051 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/8.403, allocations: 0.5705 MB / 3.416 GB, free: 3.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/8.403, allocations: 3.938 kB / 3.416 GB, free: 3.477 MB / 0.6198 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00203/8.405, allocations: 1.178 MB / 3.417 GB, free: 2.293 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001645/8.405, allocations: 485.9 kB / 3.417 GB, free: 1.777 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/8.405, allocations: 7.938 kB / 3.417 GB, free: 1.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/8.405, allocations: 4 kB / 3.417 GB, free: 1.766 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/8.407, allocations: 275.6 kB / 3.417 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006468/8.408, allocations: 1.207 MB / 3.419 GB, free: 248 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/8.409, allocations: 171.4 kB / 3.419 GB, free: 76 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/8.409, allocations: 43.97 kB / 3.419 GB, free: 32 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/8.409, allocations: 4 kB / 3.419 GB, free: 28 kB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002326/8.412, allocations: 1.061 MB / 3.42 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/8.412, allocations: 4.047 kB / 3.42 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/8.412, allocations: 8 kB / 3.42 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/8.413, allocations: 259.7 kB / 3.42 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/8.413, allocations: 7.938 kB / 3.42 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/8.414, allocations: 171.3 kB / 3.42 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/8.415, allocations: 35.97 kB / 3.42 GB, free: 14.49 MB / 0.6355 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 () * 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.0003468/8.415, allocations: 127.2 kB / 3.42 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002448/8.417, allocations: 1.085 MB / 3.422 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/8.418, allocations: 98.91 kB / 3.422 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002819/8.42, allocations: 1.201 MB / 3.423 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/8.42, allocations: 8 kB / 3.423 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/8.42, allocations: 0 / 3.423 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/8.42, allocations: 3.984 kB / 3.423 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005348/8.426, allocations: 2.57 MB / 3.425 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/8.426, allocations: 0 / 3.425 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/8.427, allocations: 252.1 kB / 3.426 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.312e-05/8.427, allocations: 8 kB / 3.426 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.572e-05/8.427, allocations: 19.97 kB / 3.426 GB, free: 9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007785/8.428, allocations: 1.195 MB / 3.427 GB, free: 7.758 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/8.428, allocations: 7.938 kB / 3.427 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002629/8.431, allocations: 1.492 MB / 3.428 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000782/8.432, allocations: 311.6 kB / 3.428 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/8.432, allocations: 4 kB / 3.428 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/8.433, allocations: 151.8 kB / 3.429 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/8.433, allocations: 72.31 kB / 3.429 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/8.433, allocations: 39.97 kB / 3.429 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007224/8.434, allocations: 443.1 kB / 3.429 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/8.434, allocations: 0 / 3.429 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002584/8.437, allocations: 0.6784 MB / 3.43 GB, free: 4.41 MB / 0.6355 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 () * 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.5286/8.965, allocations: 5.57 MB / 3.435 GB, free: 90.16 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004747/8.97, allocations: 1.618 MB / 3.437 GB, free: 90.03 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/8.97, allocations: 0.875 kB / 3.437 GB, free: 90.03 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001337/8.972, allocations: 0.5169 MB / 3.437 GB, free: 90.03 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002977/8.975, allocations: 427.5 kB / 3.438 GB, free: 90.02 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0171/8.992, allocations: 2.528 MB / 3.44 GB, free: 89.52 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/8.993, allocations: 1.117 MB / 3.441 GB, free: 88.82 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002771/8.996, allocations: 448.7 kB / 3.442 GB, free: 88.81 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007434/8.996, allocations: 374.4 kB / 3.442 GB, free: 88.8 MB / 0.6355 GB Notification: Performance of SimCode: time 1.863e-06/8.996, allocations: 0 / 3.442 GB, free: 88.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1044/9.101, allocations: 43.55 MB / 3.485 GB, free: 87.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/9.101, allocations: 171.1 kB / 3.485 GB, free: 87.72 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.556/12.66, allocations: 0 / 3.485 GB, free: 87.72 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)