Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",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.001061/0.001061, allocations: 179.6 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4854/0.4854, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 221.3 MB / 348.3 MB, free: 452 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 93.78 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.566e-05/3.568e-05, allocations: 7.984 kB / 0.4897 GB, free: 5.258 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4356/0.4357, allocations: 72.3 MB / 0.5603 GB, free: 40.34 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.054/5.49, allocations: 1.849 GB / 2.409 GB, free: 122.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/5.49, allocations: 85.89 kB / 2.41 GB, free: 122 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.455/8.945, allocations: 1.009 GB / 3.419 GB, free: 40.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.333e-06/8.945, allocations: 0 / 3.419 GB, free: 40.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.174e-05/8.945, allocations: 36.14 kB / 3.419 GB, free: 40.49 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.005491/8.951, allocations: 1.795 MB / 3.421 GB, free: 38.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/8.951, allocations: 15.98 kB / 3.421 GB, free: 38.62 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001823/8.951, allocations: 131.1 kB / 3.421 GB, free: 38.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002944/8.954, allocations: 0.548 MB / 3.421 GB, free: 37.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002434/8.957, allocations: 1.07 MB / 3.423 GB, free: 36.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005869/8.957, allocations: 193.9 kB / 3.423 GB, free: 36.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/8.957, allocations: 87.88 kB / 3.423 GB, free: 36.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/8.959, allocations: 1.146 MB / 3.424 GB, free: 35.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/8.959, allocations: 11.92 kB / 3.424 GB, free: 35.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.656e-05/8.959, allocations: 28 kB / 3.424 GB, free: 35.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.192e-05/8.959, allocations: 41.98 kB / 3.424 GB, free: 35.31 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/8.961, allocations: 1.109 MB / 3.425 GB, free: 34.2 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.00632/8.967, allocations: 4.204 MB / 3.429 GB, free: 29.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/8.968, allocations: 0.7531 MB / 3.43 GB, free: 28.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006169/8.969, allocations: 0.516 MB / 3.43 GB, free: 28.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008293/8.97, allocations: 0.6088 MB / 3.431 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/8.97, allocations: 43.3 kB / 3.431 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=76): time 2.885e-06/8.97, allocations: 0 / 3.431 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76): time 0.001864/8.972, allocations: 1.022 MB / 3.432 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/8.972, allocations: 60.19 kB / 3.432 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007853/8.972, allocations: 0.7054 MB / 3.433 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.185e-05/8.973, allocations: 41.7 kB / 3.433 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/8.973, allocations: 440.6 kB / 3.433 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/8.973, allocations: 272.1 kB / 3.434 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.352e-05/8.973, allocations: 12 kB / 3.434 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.664e-05/8.973, allocations: 338 kB / 3.434 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005503/8.974, allocations: 405.4 kB / 3.434 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006307/8.974, allocations: 0.5442 MB / 3.435 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006058/8.975, allocations: 467.5 kB / 3.435 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/8.975, allocations: 0 / 3.435 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00157/8.977, allocations: 1.094 MB / 3.436 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/8.977, allocations: 485.9 kB / 3.437 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/8.977, allocations: 4 kB / 3.437 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/8.977, allocations: 4 kB / 3.437 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/8.978, allocations: 287.5 kB / 3.437 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005157/8.979, allocations: 1.188 MB / 3.438 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/8.98, allocations: 203.2 kB / 3.438 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/8.98, allocations: 43.97 kB / 3.438 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/8.98, allocations: 4 kB / 3.438 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001407/8.982, allocations: 0.9921 MB / 3.439 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.195e-06/8.982, allocations: 0 / 3.439 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.033e-06/8.982, allocations: 4 kB / 3.439 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/8.983, allocations: 263.6 kB / 3.44 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/8.983, allocations: 4 kB / 3.44 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/8.984, allocations: 199.2 kB / 3.44 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.042e-05/8.984, allocations: 39.97 kB / 3.44 GB, free: 18.41 MB / 0.6198 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.00022/8.984, allocations: 144.8 kB / 3.44 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/8.985, allocations: 106.7 kB / 3.44 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/8.986, allocations: 1.116 MB / 3.441 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/8.987, allocations: 8 kB / 3.441 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/8.987, allocations: 0 / 3.441 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/8.987, allocations: 7.078 kB / 3.441 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003615/8.99, allocations: 2.605 MB / 3.444 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/8.99, allocations: 7.984 kB / 3.444 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/8.991, allocations: 267.9 kB / 3.444 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/8.991, allocations: 8 kB / 3.444 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.109e-05/8.992, allocations: 27.98 kB / 3.444 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003761/8.992, allocations: 1.195 MB / 3.445 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/8.992, allocations: 4 kB / 3.445 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/8.994, allocations: 1.382 MB / 3.447 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005454/8.994, allocations: 323.4 kB / 3.447 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/8.994, allocations: 20 kB / 3.447 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/8.996, allocations: 163.8 kB / 3.447 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/8.996, allocations: 64.38 kB / 3.447 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.074e-05/8.996, allocations: 39.97 kB / 3.447 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006707/8.996, allocations: 0.5469 MB / 3.448 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/8.996, allocations: 4 kB / 3.448 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002257/8.999, allocations: 0.7724 MB / 3.448 GB, free: 9.266 MB / 0.6198 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.004925/9.004, allocations: 5.219 MB / 3.454 GB, free: 3.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002586/9.006, allocations: 1.674 MB / 3.455 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/9.006, allocations: 0 / 3.455 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007902/9.007, allocations: 0.5379 MB / 3.456 GB, free: 1.598 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/9.01, allocations: 0.4997 MB / 3.456 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/9.024, allocations: 2.62 MB / 3.459 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007274/9.025, allocations: 1.116 MB / 3.46 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002121/9.027, allocations: 483.1 kB / 3.46 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006353/9.028, allocations: 379.3 kB / 3.461 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of SimCode: time 7.51e-07/9.028, allocations: 4 kB / 3.461 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5127/9.54, allocations: 69.97 MB / 3.529 GB, free: 77.35 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/9.541, allocations: 246.8 kB / 3.529 GB, free: 77.02 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.444/13.98, allocations: 0 / 3.529 GB, free: 77.02 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)