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.006088/0.006088, allocations: 101 kB / 15.73 MB, free: 6.469 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.001146/0.001146, allocations: 193.1 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9867/0.9867, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 63.89 kB / 0.5851 GB, free: 3.844 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4753/0.4772, allocations: 80.91 MB / 0.6641 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6756/1.153, allocations: 214.2 MB / 0.8733 GB, free: 1.836 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01106/1.164, allocations: 7.029 MB / 0.8802 GB, free: 1.789 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00194/1.166, allocations: 46.25 kB / 0.8802 GB, free: 1.789 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002068/1.168, allocations: 0.7825 MB / 0.881 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007014/1.175, allocations: 2.509 MB / 0.8834 GB, free: 1.684 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003363/1.179, allocations: 1.183 MB / 0.8846 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005041/1.184, allocations: 2.81 MB / 0.8873 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001801/1.185, allocations: 1.097 MB / 0.8884 GB, free: 1.523 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004872/1.19, allocations: 2.014 MB / 0.8904 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00242/1.193, allocations: 0.936 MB / 0.8913 GB, free: 1.492 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002696/1.193, allocations: 118.8 kB / 0.8914 GB, free: 1.492 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005782/1.199, allocations: 2.45 MB / 0.8938 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005825/1.199, allocations: 428 kB / 0.8942 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001269/1.201, allocations: 0.6908 MB / 0.8949 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007013/1.208, allocations: 2.494 MB / 0.8973 GB, free: 1.328 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/1.208, allocations: 3.469 kB / 0.8973 GB, free: 1.328 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.594e-06/1.208, allocations: 0 / 0.8973 GB, free: 1.328 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.16e-05/1.208, allocations: 1.625 kB / 0.8973 GB, free: 1.328 MB / 0.6856 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.00568/1.213, allocations: 1.846 MB / 0.8991 GB, free: 16.41 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/1.214, allocations: 9.938 kB / 0.8991 GB, free: 16.41 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000177/1.214, allocations: 134.9 kB / 0.8992 GB, free: 16.38 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0033/1.217, allocations: 0.534 MB / 0.8998 GB, free: 16.31 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002338/1.219, allocations: 1.006 MB / 0.9007 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-05/1.219, allocations: 70.11 kB / 0.9008 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/1.22, allocations: 85.95 kB / 0.9009 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00295/1.223, allocations: 1.223 MB / 0.9021 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/1.223, allocations: 0.875 kB / 0.9021 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.786e-05/1.223, allocations: 41.84 kB / 0.9021 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.669e-05/1.223, allocations: 46.95 kB / 0.9022 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003581/1.226, allocations: 1.53 MB / 0.9037 GB, free: 15.89 MB / 0.7012 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.00643/1.233, allocations: 4.039 MB / 0.9076 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00225/1.235, allocations: 0.9669 MB / 0.9086 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/1.237, allocations: 0.6527 MB / 0.9092 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/1.238, allocations: 0.6099 MB / 0.9098 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/1.238, allocations: 40 kB / 0.9098 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=76): time 3.066e-06/1.238, allocations: 1 kB / 0.9098 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of matching and sorting (n=76): time 0.00482/1.242, allocations: 1.783 MB / 0.9116 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/1.243, allocations: 60.12 kB / 0.9116 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/1.244, allocations: 0.8323 MB / 0.9124 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001066/1.244, allocations: 43.86 kB / 0.9125 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003064/1.244, allocations: 433.3 kB / 0.9129 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/1.244, allocations: 258.9 kB / 0.9131 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002928/1.245, allocations: 164.4 kB / 0.9133 GB, free: 13 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.245, allocations: 334 kB / 0.9136 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/1.246, allocations: 0.5282 MB / 0.9141 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/1.248, allocations: 0.6604 MB / 0.9148 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002661/1.25, allocations: 1.125 MB / 0.9159 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.852e-06/1.25, allocations: 3.125 kB / 0.9159 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003504/1.254, allocations: 1.342 MB / 0.9172 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.001e-05/1.254, allocations: 35.98 kB / 0.9172 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.254, allocations: 6.469 kB / 0.9172 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/1.254, allocations: 7.219 kB / 0.9172 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/1.255, allocations: 258.6 kB / 0.9175 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007494/1.256, allocations: 1.195 MB / 0.9186 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/1.257, allocations: 148.3 kB / 0.9188 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.19e-05/1.258, allocations: 35.27 kB / 0.9188 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001763/1.259, allocations: 0.7568 MB / 0.9196 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001411/1.261, allocations: 0.6482 MB / 0.9202 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002615/1.263, allocations: 1.128 MB / 0.9213 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.355e-06/1.263, allocations: 0 / 0.9213 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003377/1.267, allocations: 1.337 MB / 0.9226 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/1.267, allocations: 33.64 kB / 0.9226 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/1.267, allocations: 1.203 kB / 0.9226 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.413e-06/1.267, allocations: 7.484 kB / 0.9226 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/1.268, allocations: 230.6 kB / 0.9229 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/1.268, allocations: 8.219 kB / 0.9229 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/1.269, allocations: 126.5 kB / 0.923 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.242e-05/1.269, allocations: 37.33 kB / 0.923 GB, free: 10.59 MB / 0.7012 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.i2_w,hex.i1_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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000327/1.27, allocations: 222.5 kB / 0.9232 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/1.27, allocations: 113.6 kB / 0.9233 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003262/1.273, allocations: 1.335 MB / 0.9247 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/1.273, allocations: 7.969 kB / 0.9247 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.273, allocations: 0 / 0.9247 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/1.273, allocations: 3.234 kB / 0.9247 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005197/1.278, allocations: 2.849 MB / 0.9274 GB, free: 9.766 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/1.278, allocations: 3.406 kB / 0.9274 GB, free: 9.766 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/1.28, allocations: 229 kB / 0.9277 GB, free: 9.754 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/1.28, allocations: 6.375 kB / 0.9277 GB, free: 9.754 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.958e-05/1.28, allocations: 26.97 kB / 0.9277 GB, free: 9.754 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005687/1.28, allocations: 1.195 MB / 0.9289 GB, free: 8.582 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.28, allocations: 2.094 kB / 0.9289 GB, free: 8.582 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003248/1.283, allocations: 1.451 MB / 0.9303 GB, free: 8.23 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006717/1.284, allocations: 316 kB / 0.9306 GB, free: 8.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/1.284, allocations: 17 kB / 0.9306 GB, free: 8.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/1.285, allocations: 107.2 kB / 0.9307 GB, free: 8.062 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/1.286, allocations: 61.7 kB / 0.9308 GB, free: 8.055 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.048e-05/1.286, allocations: 34.36 kB / 0.9308 GB, free: 8.055 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007522/1.286, allocations: 0.5695 MB / 0.9314 GB, free: 7.941 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.61e-07/1.286, allocations: 1.188 kB / 0.9314 GB, free: 7.941 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001468/1.288, allocations: 0.5387 MB / 0.9319 GB, free: 7.879 MB / 0.7012 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003996/1.292, allocations: 2.162 MB / 0.934 GB, free: 6.961 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005475/1.297, allocations: 2.025 MB / 0.936 GB, free: 6.785 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/1.297, allocations: 0 / 0.936 GB, free: 6.785 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001735/1.299, allocations: 0.6606 MB / 0.9366 GB, free: 6.77 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003052/1.302, allocations: 0.5005 MB / 0.9371 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01931/1.322, allocations: 8.682 MB / 0.9456 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/1.323, allocations: 1.086 MB / 0.9466 GB, free: 3.223 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001813/1.325, allocations: 394 kB / 0.947 GB, free: 3.039 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007164/1.325, allocations: 395.1 kB / 0.9474 GB, free: 2.992 MB / 0.7012 GB Notification: Performance of SimCode: time 1.032e-06/1.325, allocations: 0 / 0.9474 GB, free: 2.992 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05182/1.377, allocations: 29.24 MB / 0.976 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/14.74, allocations: 11.92 kB / 0.976 GB, free: 6.914 MB / 0.7325 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/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)