Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="IDEAS_dev_IDEAS_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.001483/0.001483, allocations: 99.55 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.001933/0.001934, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.187/2.187, allocations: 223.2 MB / 239.9 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.94/1.94, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005313/0.0005315, allocations: 8 kB / 0.5069 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2957, allocations: 82.31 MB / 0.5873 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.9208/1.216, allocations: 176.6 MB / 0.7597 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02252/1.239, allocations: 6.985 MB / 0.7666 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003059/1.242, allocations: 35.75 kB / 0.7666 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004646/1.247, allocations: 0.7155 MB / 0.7673 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0133/1.26, allocations: 2.166 MB / 0.7694 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007218/1.268, allocations: 1.139 MB / 0.7705 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006094/1.274, allocations: 1.627 MB / 0.7721 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003191/1.277, allocations: 0.8348 MB / 0.7729 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006778/1.284, allocations: 1.316 MB / 0.7742 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002264/1.286, allocations: 0.6186 MB / 0.7748 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005929/1.287, allocations: 48 kB / 0.7749 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006829/1.294, allocations: 1.322 MB / 0.7762 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001097/1.295, allocations: 315 kB / 0.7765 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00104/1.296, allocations: 277 kB / 0.7767 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005042/1.301, allocations: 1.604 MB / 0.7783 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/1.301, allocations: 0 / 0.7783 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.098e-06/1.301, allocations: 0 / 0.7783 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.331e-05/1.301, allocations: 0 / 0.7783 GB, free: 8.898 MB / 0.5919 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.00873/1.31, allocations: 1.577 MB / 0.7798 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.559e-05/1.31, allocations: 12.03 kB / 0.7798 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005631/1.31, allocations: 135.1 kB / 0.78 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006003/1.317, allocations: 0.5877 MB / 0.7805 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003998/1.321, allocations: 0.9297 MB / 0.7814 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001364/1.322, allocations: 199 kB / 0.7816 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004498/1.322, allocations: 87.97 kB / 0.7817 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005065/1.328, allocations: 1.256 MB / 0.7829 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.302e-05/1.328, allocations: 0 / 0.7829 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002309/1.328, allocations: 32 kB / 0.783 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001113/1.328, allocations: 49.94 kB / 0.783 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006922/1.335, allocations: 1.616 MB / 0.7846 GB, free: 2.309 MB / 0.5919 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.02632/1.361, allocations: 4.08 MB / 0.7886 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005935/1.367, allocations: 1.072 MB / 0.7896 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00141/1.369, allocations: 286.9 kB / 0.7899 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.198e-05/1.369, allocations: 47.22 kB / 0.79 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 5.52e-06/1.369, allocations: 0 / 0.79 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.01942/1.388, allocations: 1.91 MB / 0.7918 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.706e-05/1.388, allocations: 60.05 kB / 0.7919 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006824/1.395, allocations: 0.8192 MB / 0.7927 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0004255/1.396, allocations: 37.7 kB / 0.7927 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007434/1.397, allocations: 444.5 kB / 0.7931 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.004739/1.401, allocations: 268 kB / 0.7934 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002837/1.402, allocations: 16 kB / 0.7934 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002761/1.402, allocations: 341.9 kB / 0.7937 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003049/1.405, allocations: 0.5602 MB / 0.7943 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002987/1.408, allocations: 0.6919 MB / 0.795 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003019/1.411, allocations: 0.6255 MB / 0.7956 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/1.411, allocations: 0 / 0.7956 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.006842/1.418, allocations: 1.424 MB / 0.797 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.000523/1.419, allocations: 0.5531 MB / 0.7975 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/1.419, allocations: 4 kB / 0.7975 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.3e-05/1.419, allocations: 4 kB / 0.7975 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003099/1.422, allocations: 283.6 kB / 0.7978 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/1.423, allocations: 1.188 MB / 0.7989 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002674/1.426, allocations: 199.4 kB / 0.7991 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002905/1.426, allocations: 35.97 kB / 0.7992 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/1.427, allocations: 4 kB / 0.7992 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006256/1.433, allocations: 1.321 MB / 0.8005 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/1.433, allocations: 0 / 0.8005 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/1.433, allocations: 8.062 kB / 0.8005 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002347/1.435, allocations: 255.7 kB / 0.8007 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.539e-05/1.435, allocations: 11.97 kB / 0.8007 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002582/1.438, allocations: 188.2 kB / 0.8009 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002041/1.438, allocations: 39.92 kB / 0.8009 GB, free: 1.051 MB / 0.6075 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.00115/1.439, allocations: 373 kB / 0.8013 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004601/1.44, allocations: 110.7 kB / 0.8014 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005986/1.446, allocations: 1.429 MB / 0.8028 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/1.446, allocations: 8 kB / 0.8028 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/1.446, allocations: 0 / 0.8028 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/1.446, allocations: 3.984 kB / 0.8028 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/1.457, allocations: 2.986 MB / 0.8057 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/1.458, allocations: 4 kB / 0.8057 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002127/1.46, allocations: 253.1 kB / 0.806 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-05/1.46, allocations: 8 kB / 0.806 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001355/1.46, allocations: 27.98 kB / 0.806 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/1.461, allocations: 1.192 MB / 0.8072 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/1.461, allocations: 4 kB / 0.8072 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007217/1.468, allocations: 1.757 MB / 0.8089 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/1.469, allocations: 307.5 kB / 0.8092 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003337/1.47, allocations: 20 kB / 0.8092 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002707/1.473, allocations: 163.8 kB / 0.8093 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002944/1.473, allocations: 64.38 kB / 0.8094 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000169/1.473, allocations: 39.97 kB / 0.8094 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001553/1.475, allocations: 0.5544 MB / 0.81 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.6e-07/1.475, allocations: 8 kB / 0.81 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003188/1.478, allocations: 0.5341 MB / 0.8105 GB, free: 6.855 MB / 0.6231 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.009656/1.488, allocations: 3.637 MB / 0.8141 GB, free: 3.098 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01092/1.499, allocations: 2.135 MB / 0.8162 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.622e-05/1.499, allocations: 3.938 kB / 0.8162 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003677/1.502, allocations: 0.7146 MB / 0.8169 GB, free: 220 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00512/1.508, allocations: 0.4953 MB / 0.8173 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/1.519, allocations: 3.769 MB / 0.821 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/1.52, allocations: 1.118 MB / 0.8221 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003677/1.524, allocations: 391.5 kB / 0.8225 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/1.526, allocations: 391.3 kB / 0.8229 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of SimCode: time 1.553e-06/1.526, allocations: 0 / 0.8229 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.052/3.577, allocations: 28.22 MB / 0.8504 GB, free: 14.16 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004762/3.578, allocations: 261.1 kB / 0.8507 GB, free: 13.82 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.651/9.229, allocations: 4 kB / 0.8507 GB, free: 13.82 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) Environment - environmentSimulation: