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.0009388/0.0009388, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001099/0.0011, allocations: 168.7 kB / 15.95 MB, free: 204 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.347/1.347, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.943/0.943, allocations: 135.3 MB / 426.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004486/0.0004487, allocations: 8 kB / 0.5071 GB, free: 5.047 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1698, allocations: 82.31 MB / 0.5875 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5204/0.6902, allocations: 195.1 MB / 0.778 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01055/0.7008, allocations: 6.622 MB / 0.7845 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/0.7024, allocations: 35.75 kB / 0.7845 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.7041, allocations: 0.4967 MB / 0.785 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005427/0.7095, allocations: 1.78 MB / 0.7868 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002845/0.7124, allocations: 0.901 MB / 0.7876 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00453/0.7169, allocations: 3.198 MB / 0.7908 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/0.7183, allocations: 0.7964 MB / 0.7915 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003804/0.7221, allocations: 1.529 MB / 0.793 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.7236, allocations: 0.8676 MB / 0.7939 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.7238, allocations: 44 kB / 0.7939 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003428/0.7272, allocations: 1.54 MB / 0.7954 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000409/0.7276, allocations: 342.7 kB / 0.7957 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003819/0.728, allocations: 269.1 kB / 0.796 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002093/0.7301, allocations: 1.707 MB / 0.7977 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.7301, allocations: 0 / 0.7977 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7301, allocations: 0 / 0.7977 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.577e-05/0.7302, allocations: 0 / 0.7977 GB, free: 5.609 MB / 0.6075 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.003714/0.7339, allocations: 1.616 MB / 0.7992 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.7339, allocations: 15.97 kB / 0.7993 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001777/0.7341, allocations: 135.1 kB / 0.7994 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002761/0.7369, allocations: 0.5799 MB / 0.8 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.7385, allocations: 0.9259 MB / 0.8009 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005515/0.739, allocations: 201.8 kB / 0.8011 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.7392, allocations: 80 kB / 0.8011 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002522/0.7417, allocations: 1.265 MB / 0.8024 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.7417, allocations: 0 / 0.8024 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.7419, allocations: 39.89 kB / 0.8024 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.91e-05/0.7419, allocations: 49.97 kB / 0.8025 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003404/0.7453, allocations: 1.608 MB / 0.804 GB, free: 14.98 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.00662/0.752, allocations: 4.101 MB / 0.808 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002403/0.7544, allocations: 1.04 MB / 0.809 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001438/0.7558, allocations: 0.6943 MB / 0.8097 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/0.757, allocations: 0.636 MB / 0.8103 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.757, allocations: 43.22 kB / 0.8104 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 3.006e-06/0.757, allocations: 0 / 0.8104 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.004718/0.7618, allocations: 1.91 MB / 0.8122 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.7618, allocations: 60.06 kB / 0.8123 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.7631, allocations: 0.8153 MB / 0.8131 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.7632, allocations: 45.7 kB / 0.8131 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003984/0.7636, allocations: 440.6 kB / 0.8136 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/0.7639, allocations: 264.1 kB / 0.8138 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-05/0.7639, allocations: 16 kB / 0.8138 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.7641, allocations: 333.9 kB / 0.8142 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/0.7654, allocations: 0.5602 MB / 0.8147 GB, free: 3.586 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/0.7671, allocations: 0.7027 MB / 0.8154 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/0.769, allocations: 0.6255 MB / 0.816 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.769, allocations: 0 / 0.816 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003315/0.7723, allocations: 1.415 MB / 0.8174 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.7725, allocations: 160.8 kB / 0.8175 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.7725, allocations: 4 kB / 0.8175 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.7725, allocations: 4 kB / 0.8175 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/0.774, allocations: 278.4 kB / 0.8178 GB, free: 344 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008765/0.7749, allocations: 1.199 MB / 0.819 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.7762, allocations: 191.3 kB / 0.8192 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.597e-05/0.7763, allocations: 31.98 kB / 0.8192 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.7763, allocations: 4 kB / 0.8192 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002965/0.7793, allocations: 1.322 MB / 0.8205 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.7793, allocations: 0 / 0.8205 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.7793, allocations: 7.953 kB / 0.8205 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.7804, allocations: 251.8 kB / 0.8207 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.7804, allocations: 6.188 kB / 0.8207 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.7816, allocations: 196.6 kB / 0.8209 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.035e-05/0.7817, allocations: 35.98 kB / 0.821 GB, free: 13.05 MB / 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.0006069/0.7823, allocations: 372.9 kB / 0.8213 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.7826, allocations: 106.7 kB / 0.8214 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003366/0.7859, allocations: 1.426 MB / 0.8228 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.786, allocations: 11.95 kB / 0.8228 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.786, allocations: 0 / 0.8228 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.786, allocations: 3.984 kB / 0.8228 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005609/0.7916, allocations: 2.929 MB / 0.8257 GB, free: 8.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.7916, allocations: 4 kB / 0.8257 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/0.7929, allocations: 249.5 kB / 0.8259 GB, free: 7.844 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.33e-05/0.7929, allocations: 15.94 kB / 0.8259 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.554e-05/0.793, allocations: 23.98 kB / 0.826 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007994/0.7938, allocations: 1.188 MB / 0.8271 GB, free: 6.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/0.7938, allocations: 11.94 kB / 0.8271 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0032/0.797, allocations: 1.541 MB / 0.8286 GB, free: 4.953 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006207/0.7977, allocations: 311.5 kB / 0.8289 GB, free: 4.629 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/0.7979, allocations: 19.98 kB / 0.829 GB, free: 4.609 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.7991, allocations: 155.8 kB / 0.8291 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.7993, allocations: 72.38 kB / 0.8292 GB, free: 4.387 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.221e-05/0.7994, allocations: 35.97 kB / 0.8292 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008786/0.8003, allocations: 0.5583 MB / 0.8298 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8003, allocations: 0 / 0.8298 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001776/0.8021, allocations: 0.5341 MB / 0.8303 GB, free: 3.246 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.004211/0.8063, allocations: 2.249 MB / 0.8325 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005372/0.8117, allocations: 2.151 MB / 0.8346 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.8117, allocations: 0 / 0.8346 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001667/0.8134, allocations: 0.6989 MB / 0.8353 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002663/0.8161, allocations: 0.5105 MB / 0.8358 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/0.8312, allocations: 6.948 MB / 0.8425 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008301/0.832, allocations: 1.098 MB / 0.8436 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001866/0.8339, allocations: 395.5 kB / 0.844 GB, free: 4.863 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006798/0.8346, allocations: 391.2 kB / 0.8444 GB, free: 4.484 MB / 0.6544 GB Notification: Performance of SimCode: time 9.11e-07/0.8346, allocations: 0 / 0.8444 GB, free: 4.484 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3751/1.21, allocations: 28.72 MB / 0.8724 GB, free: 216 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/1.21, allocations: 257.8 kB / 0.8727 GB, free: 215.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.638/3.848, allocations: 0 / 0.8727 GB, free: 215.6 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: