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/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 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002392/0.002392, allocations: 176.2 kB / 16.57 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.763/2.763, allocations: 223.2 MB / 240.5 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.022/1.022, allocations: 113.7 MB / 405.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006791/0.0006791, allocations: 16.8 kB / 493 MB, free: 8.629 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3099, allocations: 77.11 MB / 0.5567 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.9667/1.277, allocations: 176.6 MB / 0.7292 GB, free: 9.488 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01467/1.291, allocations: 6.977 MB / 0.736 GB, free: 2.504 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002265/1.294, allocations: 31.75 kB / 0.736 GB, free: 2.473 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003477/1.297, allocations: 0.7194 MB / 0.7367 GB, free: 1.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01116/1.308, allocations: 2.255 MB / 0.7389 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005909/1.314, allocations: 1.059 MB / 0.74 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006794/1.321, allocations: 1.631 MB / 0.7416 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00333/1.325, allocations: 0.8327 MB / 0.7424 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007895/1.333, allocations: 1.316 MB / 0.7437 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003137/1.336, allocations: 0.6225 MB / 0.7443 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005022/1.336, allocations: 48 kB / 0.7443 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00878/1.345, allocations: 1.33 MB / 0.7456 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001443/1.347, allocations: 315 kB / 0.7459 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001178/1.348, allocations: 269.1 kB / 0.7462 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007064/1.355, allocations: 1.604 MB / 0.7477 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/1.355, allocations: 0 / 0.7477 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.959e-06/1.355, allocations: 4 kB / 0.7477 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.911e-05/1.355, allocations: 0 / 0.7477 GB, free: 6.465 MB / 0.5606 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.009019/1.364, allocations: 1.58 MB / 0.7493 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 7.36e-05/1.364, allocations: 16.03 kB / 0.7493 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005777/1.365, allocations: 135.1 kB / 0.7494 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006208/1.371, allocations: 0.5799 MB / 0.75 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004161/1.375, allocations: 0.926 MB / 0.7509 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001031/1.377, allocations: 197.8 kB / 0.7511 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000465/1.377, allocations: 80 kB / 0.7512 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004795/1.382, allocations: 1.264 MB / 0.7524 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/1.382, allocations: 0 / 0.7524 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/1.382, allocations: 39.98 kB / 0.7524 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.942e-05/1.382, allocations: 45.98 kB / 0.7525 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00498/1.387, allocations: 1.612 MB / 0.7541 GB, free: 15.88 MB / 0.5762 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.009922/1.397, allocations: 4.08 MB / 0.758 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0033/1.4, allocations: 1.072 MB / 0.7591 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000958/1.401, allocations: 290.9 kB / 0.7594 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/1.402, allocations: 43.16 kB / 0.7594 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 3.356e-06/1.402, allocations: 3.938 kB / 0.7594 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.006415/1.408, allocations: 1.91 MB / 0.7613 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.969e-05/1.408, allocations: 60.06 kB / 0.7613 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/1.41, allocations: 0.8154 MB / 0.7621 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001867/1.41, allocations: 37.7 kB / 0.7622 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007964/1.411, allocations: 448.5 kB / 0.7626 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004272/1.411, allocations: 264.1 kB / 0.7628 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.587e-05/1.411, allocations: 16 kB / 0.7629 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0003393/1.412, allocations: 334 kB / 0.7632 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/1.413, allocations: 0.5524 MB / 0.7637 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001747/1.415, allocations: 0.6832 MB / 0.7644 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002041/1.417, allocations: 0.6139 MB / 0.765 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/1.417, allocations: 0 / 0.765 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004158/1.421, allocations: 1.407 MB / 0.7664 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004139/1.422, allocations: 485.3 kB / 0.7668 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/1.422, allocations: 0 / 0.7668 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/1.422, allocations: 4 kB / 0.7668 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001698/1.424, allocations: 284.3 kB / 0.7671 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00097/1.425, allocations: 1.195 MB / 0.7683 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/1.426, allocations: 191.3 kB / 0.7684 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/1.426, allocations: 31.98 kB / 0.7685 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/1.427, allocations: 4 kB / 0.7685 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003598/1.43, allocations: 1.313 MB / 0.7698 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.43, allocations: 4 kB / 0.7698 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/1.43, allocations: 8.062 kB / 0.7698 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/1.432, allocations: 255.5 kB / 0.77 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/1.432, allocations: 4 kB / 0.77 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/1.433, allocations: 191.2 kB / 0.7702 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.352e-05/1.433, allocations: 35.91 kB / 0.7702 GB, free: 14.77 MB / 0.5919 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 (83): * Single equations (assignments): 80 * 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.0008998/1.434, allocations: 369 kB / 0.7706 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003048/1.435, allocations: 114.6 kB / 0.7707 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003913/1.439, allocations: 1.429 MB / 0.7721 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/1.439, allocations: 8 kB / 0.7721 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/1.439, allocations: 0 / 0.7721 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/1.439, allocations: 3.984 kB / 0.7721 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007028/1.446, allocations: 2.993 MB / 0.775 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/1.446, allocations: 4 kB / 0.775 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/1.447, allocations: 251.7 kB / 0.7753 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.892e-05/1.447, allocations: 8 kB / 0.7753 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.938e-05/1.447, allocations: 27.98 kB / 0.7753 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008136/1.448, allocations: 1.188 MB / 0.7765 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/1.448, allocations: 7.938 kB / 0.7765 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003953/1.452, allocations: 1.749 MB / 0.7782 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008141/1.453, allocations: 315.4 kB / 0.7785 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/1.453, allocations: 20 kB / 0.7785 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/1.454, allocations: 167.7 kB / 0.7787 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/1.455, allocations: 68.38 kB / 0.7787 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.384e-05/1.455, allocations: 35.97 kB / 0.7788 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009283/1.456, allocations: 0.5583 MB / 0.7793 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/1.456, allocations: 4 kB / 0.7793 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001918/1.457, allocations: 0.5302 MB / 0.7798 GB, free: 4.57 MB / 0.5919 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.005902/1.463, allocations: 3.632 MB / 0.7834 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006099/1.47, allocations: 2.124 MB / 0.7854 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/1.47, allocations: 4 kB / 0.7855 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002062/1.472, allocations: 0.7068 MB / 0.7861 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003245/1.475, allocations: 0.5119 MB / 0.7866 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007735/1.483, allocations: 3.605 MB / 0.7902 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/1.484, allocations: 1.122 MB / 0.7913 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001978/1.486, allocations: 395.5 kB / 0.7916 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007379/1.487, allocations: 383.3 kB / 0.792 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of SimCode: time 2.695e-06/1.487, allocations: 0 / 0.792 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.165/2.651, allocations: 28.48 MB / 0.8198 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000573/2.652, allocations: 250.7 kB / 0.82 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.181/7.833, allocations: 3.938 kB / 0.8201 GB, free: 11.46 MB / 0.6387 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) Environment - environmentSimulation: