Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.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.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_etaPL",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.001192/0.001193, allocations: 86.72 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.001499/0.001499, 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.476/1.476, 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 1.014/1.014, allocations: 135.3 MB / 426.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002914, allocations: 12 kB / 0.5071 GB, free: 5.043 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1544, allocations: 82.31 MB / 0.5875 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.3966/0.551, allocations: 56.47 MB / 0.6426 GB, free: 20.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01581/0.5669, allocations: 11.21 MB / 0.6536 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002579/0.5695, allocations: 48.41 kB / 0.6536 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001671/0.5712, allocations: 465.8 kB / 0.654 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004821/0.5761, allocations: 1.527 MB / 0.6555 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002709/0.5788, allocations: 0.8512 MB / 0.6564 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005052/0.5839, allocations: 3.391 MB / 0.6597 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002093/0.586, allocations: 0.7872 MB / 0.6604 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002847/0.5889, allocations: 1.044 MB / 0.6615 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.5904, allocations: 0.8077 MB / 0.6623 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.5906, allocations: 41.47 kB / 0.6623 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002841/0.5934, allocations: 1.126 MB / 0.6634 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002762/0.5937, allocations: 202.2 kB / 0.6636 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006374/0.5944, allocations: 285.2 kB / 0.6639 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003042/0.5974, allocations: 1.649 MB / 0.6655 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.5974, allocations: 0.6562 kB / 0.6655 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.275e-06/0.5974, allocations: 0 / 0.6655 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.245e-05/0.5975, allocations: 1.25 kB / 0.6655 GB, free: 6.949 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003005/0.6005, allocations: 1.508 MB / 0.6669 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.6005, allocations: 10.28 kB / 0.667 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001728/0.6007, allocations: 125.5 kB / 0.6671 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/0.6024, allocations: 383.6 kB / 0.6674 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/0.6046, allocations: 1.09 MB / 0.6685 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003504/0.605, allocations: 133.4 kB / 0.6686 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.6051, allocations: 78.31 kB / 0.6687 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/0.6072, allocations: 0.9659 MB / 0.6696 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.6072, allocations: 5 kB / 0.6697 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.083e-05/0.6073, allocations: 32.5 kB / 0.6697 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/0.6074, allocations: 19.12 kB / 0.6697 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/0.6098, allocations: 0.8372 MB / 0.6705 GB, free: 4.262 MB / 0.4981 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.007507/0.6173, allocations: 4.811 MB / 0.6752 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.6189, allocations: 0.605 MB / 0.6758 GB, free: 428 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007248/0.6196, allocations: 293.8 kB / 0.6761 GB, free: 328 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001654/0.6213, allocations: 1.385 MB / 0.6774 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.6214, allocations: 46.06 kB / 0.6775 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 5.42e-06/0.6214, allocations: 3.984 kB / 0.6775 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.006558/0.6279, allocations: 1.673 MB / 0.6791 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.628, allocations: 56.64 kB / 0.6792 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002213/0.6303, allocations: 1.049 MB / 0.6802 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.6304, allocations: 42.47 kB / 0.6802 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005521/0.631, allocations: 0.5259 MB / 0.6808 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.6312, allocations: 156.8 kB / 0.6809 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.6312, allocations: 10.75 kB / 0.6809 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.6314, allocations: 330.3 kB / 0.6812 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007965/0.6322, allocations: 283.4 kB / 0.6815 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009685/0.6331, allocations: 484.8 kB / 0.682 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008273/0.634, allocations: 328.2 kB / 0.6823 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.634, allocations: 1.438 kB / 0.6823 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002654/0.6367, allocations: 0.9663 MB / 0.6832 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001806/0.6368, allocations: 198 kB / 0.6834 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.6369, allocations: 3.938 kB / 0.6834 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001396/0.6383, allocations: 338.9 kB / 0.6837 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004863/0.6388, allocations: 116.5 kB / 0.6838 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.6403, allocations: 0.9399 MB / 0.6848 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.6418, allocations: 177.2 kB / 0.6849 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-05/0.6419, allocations: 32.14 kB / 0.685 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.6419, allocations: 4.688 kB / 0.685 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002214/0.6442, allocations: 0.8362 MB / 0.6858 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.6442, allocations: 4.75 kB / 0.6858 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.6453, allocations: 327.3 kB / 0.6861 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/0.6457, allocations: 118.8 kB / 0.6862 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/0.6472, allocations: 0.9327 MB / 0.6871 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.6486, allocations: 156.3 kB / 0.6873 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-05/0.6486, allocations: 32.39 kB / 0.6873 GB, free: 9.895 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007257/0.6494, allocations: 352.7 kB / 0.6876 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/0.6496, allocations: 115.8 kB / 0.6878 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/0.6519, allocations: 0.9399 MB / 0.6887 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.652, allocations: 10.03 kB / 0.6887 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.652, allocations: 4.609 kB / 0.6887 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.652, allocations: 2.672 kB / 0.6887 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006109/0.6581, allocations: 2.318 MB / 0.691 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/0.6582, allocations: 5.547 kB / 0.691 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/0.6584, allocations: 66.73 kB / 0.691 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/0.6595, allocations: 324.8 kB / 0.6913 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.736e-05/0.6596, allocations: 12.94 kB / 0.6913 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.6611, allocations: 0.9716 MB / 0.6923 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.6611, allocations: 2.609 kB / 0.6923 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004404/0.6655, allocations: 1.358 MB / 0.6936 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009515/0.6665, allocations: 280.9 kB / 0.6939 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.6667, allocations: 16.75 kB / 0.6939 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008534/0.6675, allocations: 98.38 kB / 0.694 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.6677, allocations: 40.03 kB / 0.694 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.481e-05/0.6678, allocations: 23.08 kB / 0.6941 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001969/0.6698, allocations: 0.7403 MB / 0.6948 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6698, allocations: 0 / 0.6948 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002391/0.6722, allocations: 0.5753 MB / 0.6953 GB, free: 6.18 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.004994/0.6772, allocations: 2.051 MB / 0.6973 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003048/0.6803, allocations: 1.049 MB / 0.6984 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.6803, allocations: 0 / 0.6984 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008171/0.6811, allocations: 336.1 kB / 0.6987 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002847/0.684, allocations: 0.4984 MB / 0.6992 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/0.6997, allocations: 6.497 MB / 0.7055 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007491/0.7005, allocations: 1.066 MB / 0.7066 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001232/0.7017, allocations: 214.5 kB / 0.7068 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005469/0.7023, allocations: 411.2 kB / 0.7072 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of SimCode: time 1.042e-06/0.7023, allocations: 0 / 0.7072 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06173/0.764, allocations: 33.57 MB / 0.7399 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/0.7643, allocations: 258.1 kB / 0.7402 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.699/3.463, allocations: 7.938 kB / 0.7402 GB, free: 15.06 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_etaPL.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1) Environment - environmentSimulation: