Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="IDEAS_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="IDEAS_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",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.0009153/0.0009153, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009179/0.000918, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 223.3 MB / 240 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7677/0.7677, allocations: 132.3 MB / 423.4 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003122/0.0003124, allocations: 9.094 kB / 0.5035 GB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.469/0.4693, allocations: 81.57 MB / 0.5831 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.2194/0.6887, allocations: 195.2 MB / 0.7737 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01029/0.6991, allocations: 6.628 MB / 0.7802 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.7003, allocations: 39.75 kB / 0.7802 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.7018, allocations: 0.4927 MB / 0.7807 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004745/0.7066, allocations: 1.784 MB / 0.7825 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002476/0.709, allocations: 0.9081 MB / 0.7834 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003797/0.7128, allocations: 3.198 MB / 0.7865 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.7141, allocations: 0.7999 MB / 0.7873 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003234/0.7173, allocations: 1.521 MB / 0.7887 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.7186, allocations: 0.8676 MB / 0.7896 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.7188, allocations: 48 kB / 0.7896 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003194/0.722, allocations: 1.528 MB / 0.7911 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003974/0.7224, allocations: 350.7 kB / 0.7915 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003561/0.7227, allocations: 273.1 kB / 0.7917 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.7248, allocations: 1.699 MB / 0.7934 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7248, allocations: 0 / 0.7934 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.512e-06/0.7248, allocations: 0 / 0.7934 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.7248, allocations: 0 / 0.7934 GB, free: 8.773 MB / 0.6231 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.003743/0.7286, allocations: 1.618 MB / 0.795 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.7286, allocations: 8.031 kB / 0.795 GB, free: 7.09 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001674/0.7288, allocations: 131.1 kB / 0.7951 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002844/0.7316, allocations: 0.5916 MB / 0.7957 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.7333, allocations: 0.9297 MB / 0.7966 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005528/0.7338, allocations: 193.9 kB / 0.7968 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.734, allocations: 84 kB / 0.7968 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002571/0.7366, allocations: 1.264 MB / 0.7981 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.7366, allocations: 0 / 0.7981 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.7367, allocations: 35.95 kB / 0.7981 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-05/0.7368, allocations: 45.98 kB / 0.7982 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003529/0.7403, allocations: 1.612 MB / 0.7997 GB, free: 2.148 MB / 0.6231 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.006213/0.7465, allocations: 4.099 MB / 0.8037 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002372/0.7489, allocations: 1.047 MB / 0.8048 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00142/0.7504, allocations: 0.6943 MB / 0.8054 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/0.7515, allocations: 0.6399 MB / 0.8061 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.7515, allocations: 43.22 kB / 0.8061 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.625e-06/0.7515, allocations: 0 / 0.8061 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.004751/0.7563, allocations: 1.91 MB / 0.808 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.7564, allocations: 60.06 kB / 0.808 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.7575, allocations: 0.8231 MB / 0.8088 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.7577, allocations: 41.7 kB / 0.8089 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003783/0.758, allocations: 432.6 kB / 0.8093 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002448/0.7583, allocations: 264.1 kB / 0.8095 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.194e-05/0.7584, allocations: 16 kB / 0.8096 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.7585, allocations: 337.8 kB / 0.8099 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.7599, allocations: 0.568 MB / 0.8104 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.7613, allocations: 0.6911 MB / 0.8111 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.7627, allocations: 0.6177 MB / 0.8117 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.7627, allocations: 0 / 0.8117 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00333/0.7661, allocations: 1.423 MB / 0.8131 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.7662, allocations: 160.8 kB / 0.8132 GB, free: 3.773 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.7662, allocations: 0 / 0.8132 GB, free: 3.773 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.7662, allocations: 4 kB / 0.8133 GB, free: 3.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.7677, allocations: 279.7 kB / 0.8135 GB, free: 3.496 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009117/0.7687, allocations: 1.191 MB / 0.8147 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.77, allocations: 191.5 kB / 0.8149 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.7701, allocations: 35.97 kB / 0.8149 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.7701, allocations: 4 kB / 0.8149 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00308/0.7732, allocations: 1.317 MB / 0.8162 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.7732, allocations: 4 kB / 0.8162 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.7733, allocations: 11.89 kB / 0.8162 GB, free: 0.6914 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.7744, allocations: 251.8 kB / 0.8164 GB, free: 456 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.7744, allocations: 7.984 kB / 0.8165 GB, free: 448 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.7757, allocations: 199.1 kB / 0.8166 GB, free: 248 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.005e-05/0.7758, allocations: 31.98 kB / 0.8167 GB, free: 216 kB / 0.6387 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.2941/1.07, allocations: 365.7 kB / 0.817 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005014/1.07, allocations: 103.1 kB / 0.8171 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005731/1.076, allocations: 1.43 MB / 0.8185 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/1.076, allocations: 12.83 kB / 0.8185 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/1.076, allocations: 2.922 kB / 0.8185 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/1.076, allocations: 4.875 kB / 0.8185 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008785/1.085, allocations: 2.926 MB / 0.8214 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/1.085, allocations: 4.406 kB / 0.8214 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001816/1.087, allocations: 250.2 kB / 0.8216 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.769e-05/1.087, allocations: 6.656 kB / 0.8216 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/1.087, allocations: 29.33 kB / 0.8217 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005411/1.088, allocations: 1.189 MB / 0.8228 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.475e-06/1.088, allocations: 8.188 kB / 0.8228 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003579/1.091, allocations: 1.534 MB / 0.8243 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006204/1.092, allocations: 310.3 kB / 0.8246 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/1.092, allocations: 21.17 kB / 0.8247 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/1.093, allocations: 166.2 kB / 0.8248 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/1.093, allocations: 61.45 kB / 0.8249 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/1.094, allocations: 43.55 kB / 0.8249 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001461/1.095, allocations: 0.5598 MB / 0.8255 GB, free: 215.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.4e-07/1.095, allocations: 4.641 kB / 0.8255 GB, free: 215.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002304/1.097, allocations: 0.5312 MB / 0.826 GB, free: 215.6 MB / 0.6387 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.003978/1.101, allocations: 2.242 MB / 0.8282 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005228/1.107, allocations: 2.152 MB / 0.8303 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/1.107, allocations: 2.391 kB / 0.8303 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00176/1.108, allocations: 0.7026 MB / 0.831 GB, free: 213.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/1.111, allocations: 0.5158 MB / 0.8315 GB, free: 213.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/1.125, allocations: 6.937 MB / 0.8382 GB, free: 210 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005657/1.125, allocations: 1.089 MB / 0.8393 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001733/1.127, allocations: 394 kB / 0.8397 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005536/1.128, allocations: 394.3 kB / 0.8401 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of SimCode: time 6.71e-07/1.128, allocations: 3.609 kB / 0.8401 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04522/1.173, allocations: 28.76 MB / 0.8681 GB, free: 184.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/1.173, allocations: 282.4 kB / 0.8684 GB, free: 184.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/3.626, allocations: 0 / 0.8684 GB, free: 184.3 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1) Environment - environmentSimulation: