Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.ConstantEffectiveness,fileNamePrefix="IDEAS_IDEAS_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="IDEAS_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.001514/0.001514, allocations: 100.2 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.00182/0.00182, allocations: 177.3 kB / 15.95 MB, free: 216 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.809/1.809, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9503/0.9503, allocations: 132.2 MB / 423.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003988/0.0003991, allocations: 12 kB / 0.5033 GB, free: 4.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5151/0.5155, allocations: 81.58 MB / 0.583 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.3439/0.8595, allocations: 176.6 MB / 0.7555 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01218/0.8717, allocations: 6.966 MB / 0.7623 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.8732, allocations: 39.69 kB / 0.7623 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002467/0.8757, allocations: 0.7233 MB / 0.763 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007267/0.883, allocations: 2.17 MB / 0.7651 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003737/0.8868, allocations: 1.129 MB / 0.7662 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004112/0.8909, allocations: 1.627 MB / 0.7678 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/0.8928, allocations: 0.8392 MB / 0.7686 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00379/0.8966, allocations: 1.308 MB / 0.7699 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/0.8979, allocations: 0.6264 MB / 0.7705 GB, free: 96 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.898, allocations: 48 kB / 0.7706 GB, free: 48 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003589/0.9016, allocations: 1.326 MB / 0.7719 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003961/0.902, allocations: 315 kB / 0.7722 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003928/0.9024, allocations: 273.1 kB / 0.7724 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002334/0.9048, allocations: 1.594 MB / 0.774 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.9048, allocations: 0 / 0.774 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.968e-06/0.9048, allocations: 4 kB / 0.774 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.796e-05/0.9048, allocations: 3.938 kB / 0.774 GB, free: 12.53 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.004666/0.9095, allocations: 1.575 MB / 0.7755 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.9096, allocations: 20.02 kB / 0.7755 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002087/0.9098, allocations: 131.1 kB / 0.7757 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003411/0.9132, allocations: 0.5838 MB / 0.7762 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002138/0.9154, allocations: 0.922 MB / 0.7771 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007035/0.9161, allocations: 201.9 kB / 0.7773 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.9163, allocations: 80 kB / 0.7774 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002998/0.9193, allocations: 1.268 MB / 0.7786 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.9193, allocations: 4 kB / 0.7787 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.9194, allocations: 39.89 kB / 0.7787 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.956e-05/0.9195, allocations: 45.98 kB / 0.7787 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004019/0.9235, allocations: 1.608 MB / 0.7803 GB, free: 5.941 MB / 0.6075 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.01032/0.9339, allocations: 4.077 MB / 0.7843 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004409/0.9383, allocations: 1.076 MB / 0.7853 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/0.9395, allocations: 294.9 kB / 0.7856 GB, free: 184 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.994e-05/0.9396, allocations: 47.16 kB / 0.7857 GB, free: 128 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 4.569e-06/0.9396, allocations: 0 / 0.7857 GB, free: 128 kB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.008452/0.948, allocations: 1.906 MB / 0.7875 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.9482, allocations: 56.06 kB / 0.7876 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.9496, allocations: 0.8231 MB / 0.7884 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001999/0.9498, allocations: 37.7 kB / 0.7884 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004107/0.9502, allocations: 440.6 kB / 0.7888 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/0.9505, allocations: 264.1 kB / 0.7891 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.089e-05/0.9506, allocations: 16 kB / 0.7891 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.9507, allocations: 337.9 kB / 0.7894 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/0.9524, allocations: 0.5602 MB / 0.79 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.954, allocations: 0.6958 MB / 0.7907 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.9557, allocations: 0.6178 MB / 0.7913 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.9557, allocations: 0 / 0.7913 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.004034/0.9598, allocations: 1.423 MB / 0.7926 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003698/0.9602, allocations: 0.5608 MB / 0.7932 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.9602, allocations: 4 kB / 0.7932 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.9602, allocations: 4 kB / 0.7932 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/0.962, allocations: 287.6 kB / 0.7935 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009853/0.963, allocations: 1.192 MB / 0.7946 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.9646, allocations: 199 kB / 0.7948 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.9648, allocations: 35.98 kB / 0.7949 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.9648, allocations: 6.188 kB / 0.7949 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00345/0.9682, allocations: 1.321 MB / 0.7962 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.9683, allocations: 0 / 0.7962 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.9683, allocations: 4 kB / 0.7962 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.9696, allocations: 251.8 kB / 0.7964 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.9697, allocations: 8 kB / 0.7964 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.9712, allocations: 199.1 kB / 0.7966 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.806e-05/0.9713, allocations: 35.97 kB / 0.7966 GB, free: 4.676 MB / 0.6231 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.00073/0.972, allocations: 384.9 kB / 0.797 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002299/0.9722, allocations: 106.7 kB / 0.7971 GB, free: 4.184 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003728/0.976, allocations: 1.422 MB / 0.7985 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.976, allocations: 8 kB / 0.7985 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.976, allocations: 0 / 0.7985 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.976, allocations: 7.938 kB / 0.7985 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006365/0.9824, allocations: 2.989 MB / 0.8014 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.9825, allocations: 11.98 kB / 0.8014 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/0.9839, allocations: 244.2 kB / 0.8017 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-05/0.9839, allocations: 8 kB / 0.8017 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.239e-05/0.984, allocations: 35.94 kB / 0.8017 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000665/0.9846, allocations: 1.188 MB / 0.8029 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.9847, allocations: 7.938 kB / 0.8029 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003931/0.9886, allocations: 1.749 MB / 0.8046 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007809/0.9894, allocations: 307.6 kB / 0.8049 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.9896, allocations: 23.98 kB / 0.8049 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.991, allocations: 163.8 kB / 0.8051 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.9911, allocations: 64.38 kB / 0.8051 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.473e-05/0.9912, allocations: 39.97 kB / 0.8052 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008906/0.9921, allocations: 0.5544 MB / 0.8057 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9921, allocations: 7.938 kB / 0.8057 GB, free: 11 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00152/0.9937, allocations: 0.5341 MB / 0.8062 GB, free: 10.47 MB / 0.6387 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.004826/0.9985, allocations: 3.622 MB / 0.8098 GB, free: 6.723 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006733/1.005, allocations: 2.151 MB / 0.8119 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.792e-05/1.005, allocations: 0 / 0.8119 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002633/1.008, allocations: 0.7068 MB / 0.8126 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003083/1.011, allocations: 0.4975 MB / 0.813 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3312/1.342, allocations: 3.76 MB / 0.8167 GB, free: 217.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/1.344, allocations: 1.114 MB / 0.8178 GB, free: 216.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002818/1.347, allocations: 394 kB / 0.8182 GB, free: 216.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000776/1.348, allocations: 393 kB / 0.8186 GB, free: 216.6 MB / 0.6387 GB Notification: Performance of SimCode: time 3.407e-06/1.348, allocations: 1.062 kB / 0.8186 GB, free: 216.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2609/1.608, allocations: 28.22 MB / 0.8461 GB, free: 205.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/1.609, allocations: 258.2 kB / 0.8464 GB, free: 205.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.88/5.489, allocations: 0 / 0.8464 GB, free: 205.4 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) Environment - environmentSimulation: