Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.838/0.838, allocations: 143.3 MB / 158.3 MB, free: 5.766 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001544, allocations: 183 kB / 191.5 MB, free: 5.746 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 223.1 MB / 447.7 MB, free: 4.801 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008687/0.0008688, allocations: 88.27 kB / 0.5187 GB, free: 1.152 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002809/0.002809, allocations: 267.5 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004911/0.0004912, allocations: 13.31 kB / 0.6929 GB, free: 59.76 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2193, allocations: 82.79 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.229/5.448, allocations: 1.856 GB / 2.63 GB, free: 220.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004139/5.449, allocations: 86.64 kB / 2.63 GB, free: 220.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.632/9.08, allocations: 1.01 GB / 3.64 GB, free: 16.39 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.426e-06/9.08, allocations: 0 / 3.64 GB, free: 16.39 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001869/9.081, allocations: 27.98 kB / 3.64 GB, free: 16.37 MB / 0.7136 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.008651/9.089, allocations: 1.962 MB / 3.642 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.434e-05/9.089, allocations: 8.031 kB / 3.642 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007966/9.09, allocations: 139.1 kB / 3.642 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004179/9.094, allocations: 0.5409 MB / 3.643 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004161/9.099, allocations: 1.082 MB / 3.644 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000697/9.099, allocations: 201.9 kB / 3.644 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000419/9.1, allocations: 83.94 kB / 3.644 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003589/9.103, allocations: 1.337 MB / 3.645 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.883e-05/9.103, allocations: 4 kB / 3.645 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001665/9.104, allocations: 28 kB / 3.646 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.904e-05/9.104, allocations: 49.95 kB / 3.646 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003753/9.107, allocations: 1.507 MB / 3.647 GB, free: 9.305 MB / 0.7136 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.008592/9.116, allocations: 4.196 MB / 3.651 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002543/9.119, allocations: 1.08 MB / 3.652 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000951/9.12, allocations: 0.6048 MB / 3.653 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/9.12, allocations: 47.16 kB / 3.653 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 4.008e-06/9.12, allocations: 3.938 kB / 3.653 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.005265/9.125, allocations: 1.984 MB / 3.655 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/9.125, allocations: 64.06 kB / 3.655 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/9.126, allocations: 0.7013 MB / 3.656 GB, free: 184 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002134/9.127, allocations: 45.7 kB / 3.656 GB, free: 132 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006903/9.127, allocations: 452.5 kB / 3.656 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004004/9.128, allocations: 260.1 kB / 3.656 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.367e-05/9.128, allocations: 16 kB / 3.656 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002248/9.128, allocations: 337.9 kB / 3.657 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/9.13, allocations: 0.5875 MB / 3.657 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001893/9.132, allocations: 0.7451 MB / 3.658 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/9.134, allocations: 0.6411 MB / 3.658 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/9.134, allocations: 0 / 3.658 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0041/9.138, allocations: 1.47 MB / 3.66 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003669/9.138, allocations: 493.3 kB / 3.66 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/9.138, allocations: 0 / 3.66 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.44e-05/9.138, allocations: 4 kB / 3.66 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001804/9.14, allocations: 271.6 kB / 3.661 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/9.141, allocations: 1.199 MB / 3.662 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/9.143, allocations: 195.3 kB / 3.662 GB, free: 9.324 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/9.143, allocations: 47.95 kB / 3.662 GB, free: 9.277 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/9.143, allocations: 11.94 kB / 3.662 GB, free: 9.266 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003761/9.147, allocations: 1.376 MB / 3.663 GB, free: 7.883 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/9.147, allocations: 0 / 3.663 GB, free: 7.883 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/9.147, allocations: 4 kB / 3.663 GB, free: 7.879 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/9.148, allocations: 255.8 kB / 3.664 GB, free: 7.629 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/9.148, allocations: 4 kB / 3.664 GB, free: 7.625 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/9.15, allocations: 203.1 kB / 3.664 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/9.15, allocations: 43.95 kB / 3.664 GB, free: 7.383 MB / 0.7292 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.00123/9.151, allocations: 374.1 kB / 3.664 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000458/9.152, allocations: 106.6 kB / 3.664 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004385/9.156, allocations: 1.492 MB / 3.666 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/9.156, allocations: 8 kB / 3.666 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/9.156, allocations: 7.984 kB / 3.666 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/9.156, allocations: 3.953 kB / 3.666 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008061/9.164, allocations: 2.987 MB / 3.669 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/9.165, allocations: 4 kB / 3.669 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001534/9.166, allocations: 256 kB / 3.669 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.806e-05/9.166, allocations: 11.98 kB / 3.669 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/9.166, allocations: 27.94 kB / 3.669 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001246/9.168, allocations: 1.195 MB / 3.67 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.258e-05/9.168, allocations: 7.938 kB / 3.67 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5285/9.696, allocations: 1.758 MB / 3.672 GB, free: 106.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008655/9.697, allocations: 320.2 kB / 3.672 GB, free: 106.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/9.697, allocations: 20.12 kB / 3.672 GB, free: 106.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/9.699, allocations: 168.8 kB / 3.672 GB, free: 106.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/9.699, allocations: 58 kB / 3.672 GB, free: 106.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.995e-05/9.699, allocations: 38.23 kB / 3.673 GB, free: 106.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0008915/9.7, allocations: 0.5624 MB / 3.673 GB, free: 106.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/9.7, allocations: 3.75 kB / 3.673 GB, free: 106.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002631/9.702, allocations: 0.7573 MB / 3.674 GB, free: 106.6 MB / 0.7292 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.007833/9.71, allocations: 5.615 MB / 3.679 GB, free: 103.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006081/9.716, allocations: 2.208 MB / 3.681 GB, free: 103.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/9.716, allocations: 1.688 kB / 3.681 GB, free: 103.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002009/9.718, allocations: 0.731 MB / 3.682 GB, free: 103.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003257/9.722, allocations: 0.4932 MB / 3.683 GB, free: 103.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01842/9.74, allocations: 4.446 MB / 3.687 GB, free: 101.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007893/9.741, allocations: 1.115 MB / 3.688 GB, free: 101 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002205/9.743, allocations: 421.9 kB / 3.688 GB, free: 101 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006861/9.744, allocations: 391.1 kB / 3.689 GB, free: 101 MB / 0.7292 GB Notification: Performance of SimCode: time 1.543e-06/9.744, allocations: 0 / 3.689 GB, free: 101 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1035/9.847, allocations: 62.31 MB / 3.75 GB, free: 99.75 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001659/9.848, allocations: 277.8 kB / 3.75 GB, free: 99.39 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.092/13.94, allocations: 2.594 kB / 3.75 GB, free: 99.39 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)