Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.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.Examples.Carnot_TEva,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Examples_Carnot_TEva",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.001339/0.001339, 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.001437/0.001437, 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.402/1.402, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.005/1.005, allocations: 135.3 MB / 426.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004015/0.0004016, allocations: 8.688 kB / 0.5071 GB, free: 5.055 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1808, allocations: 82.31 MB / 0.5875 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.3874/0.5683, allocations: 56.44 MB / 0.6426 GB, free: 20.21 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01327/0.5816, allocations: 11.22 MB / 0.6535 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002062/0.5837, allocations: 50.94 kB / 0.6536 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001681/0.5854, allocations: 457.4 kB / 0.654 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004508/0.5899, allocations: 1.531 MB / 0.6555 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002494/0.5924, allocations: 0.8548 MB / 0.6564 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003973/0.5964, allocations: 3.391 MB / 0.6597 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.5978, allocations: 0.7863 MB / 0.6604 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002266/0.6001, allocations: 1.043 MB / 0.6614 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/0.6015, allocations: 0.7992 MB / 0.6622 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.6016, allocations: 41.09 kB / 0.6623 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003004/0.6046, allocations: 1.101 MB / 0.6633 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.6049, allocations: 197.5 kB / 0.6635 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004666/0.6054, allocations: 285.4 kB / 0.6638 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002865/0.6082, allocations: 1.631 MB / 0.6654 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.6083, allocations: 0 / 0.6654 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.266e-06/0.6083, allocations: 0 / 0.6654 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.117e-05/0.6083, allocations: 4.938 kB / 0.6654 GB, free: 7.004 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.003089/0.6114, allocations: 1.498 MB / 0.6669 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.6115, allocations: 10.03 kB / 0.6669 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001782/0.6117, allocations: 121.4 kB / 0.667 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002228/0.6139, allocations: 473.1 kB / 0.6674 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002427/0.6163, allocations: 1.094 MB / 0.6685 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003538/0.6167, allocations: 131.1 kB / 0.6686 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.6169, allocations: 78.91 kB / 0.6687 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002265/0.6191, allocations: 0.9938 MB / 0.6697 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.6192, allocations: 5.031 kB / 0.6697 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.823e-05/0.6193, allocations: 32.45 kB / 0.6697 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/0.6193, allocations: 19 kB / 0.6697 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00229/0.6216, allocations: 0.9057 MB / 0.6706 GB, free: 4.301 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.006751/0.6283, allocations: 4.894 MB / 0.6754 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0031/0.6315, allocations: 0.8918 MB / 0.6763 GB, free: 404 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007143/0.6322, allocations: 321.2 kB / 0.6766 GB, free: 304 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006232/0.6328, allocations: 0.896 MB / 0.6775 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.6329, allocations: 37.33 kB / 0.6775 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.434e-06/0.6329, allocations: 5.094 kB / 0.6775 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.006961/0.6398, allocations: 1.944 MB / 0.6794 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.6399, allocations: 55.53 kB / 0.6794 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/0.6422, allocations: 1.045 MB / 0.6805 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.447e-05/0.6423, allocations: 38.88 kB / 0.6805 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005367/0.6429, allocations: 0.5297 MB / 0.681 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.6431, allocations: 153.5 kB / 0.6812 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.6431, allocations: 10.03 kB / 0.6812 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.6433, allocations: 325.4 kB / 0.6815 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008897/0.6442, allocations: 323.5 kB / 0.6818 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.6452, allocations: 0.52 MB / 0.6823 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009285/0.6462, allocations: 355.1 kB / 0.6826 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.6462, allocations: 1.062 kB / 0.6826 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003675/0.6499, allocations: 1.219 MB / 0.6838 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001681/0.6501, allocations: 214.8 kB / 0.684 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.6501, allocations: 5.031 kB / 0.684 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/0.6513, allocations: 339 kB / 0.6844 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005128/0.6519, allocations: 125.7 kB / 0.6845 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/0.6534, allocations: 0.9401 MB / 0.6854 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.6549, allocations: 187.9 kB / 0.6856 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.655, allocations: 32.78 kB / 0.6856 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.367e-06/0.655, allocations: 3.938 kB / 0.6856 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003153/0.6582, allocations: 1.068 MB / 0.6867 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.6582, allocations: 4.875 kB / 0.6867 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.6593, allocations: 324.1 kB / 0.687 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005426/0.6599, allocations: 127.1 kB / 0.6871 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/0.6614, allocations: 0.9411 MB / 0.688 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.663, allocations: 164.2 kB / 0.6882 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-05/0.6631, allocations: 31.78 kB / 0.6882 GB, free: 10.19 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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.0006979/0.6638, allocations: 352.1 kB / 0.6885 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002914/0.6641, allocations: 111.4 kB / 0.6886 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002563/0.6666, allocations: 0.9824 MB / 0.6896 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.6667, allocations: 7.109 kB / 0.6896 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.6667, allocations: 0 / 0.6896 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.6667, allocations: 2.297 kB / 0.6896 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005543/0.6722, allocations: 2.251 MB / 0.6918 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/0.6723, allocations: 2.719 kB / 0.6918 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/0.6726, allocations: 70.83 kB / 0.6919 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001236/0.6738, allocations: 333.2 kB / 0.6922 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.035e-05/0.6739, allocations: 21.33 kB / 0.6922 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001718/0.6756, allocations: 0.9664 MB / 0.6932 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/0.6757, allocations: 8.547 kB / 0.6932 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003685/0.6794, allocations: 1.259 MB / 0.6944 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009222/0.6803, allocations: 281.2 kB / 0.6947 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000379/0.6807, allocations: 13.55 kB / 0.6947 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.6819, allocations: 109.6 kB / 0.6948 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.682, allocations: 35.88 kB / 0.6948 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.325e-05/0.6821, allocations: 24.98 kB / 0.6948 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001776/0.6839, allocations: 0.7346 MB / 0.6956 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.6839, allocations: 1.281 kB / 0.6956 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002677/0.6866, allocations: 0.5551 MB / 0.6961 GB, free: 6.477 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 (33): * Single equations (assignments): 28 * 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.004946/0.6916, allocations: 2.053 MB / 0.6981 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003368/0.695, allocations: 1.163 MB / 0.6992 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.695, allocations: 0.6875 kB / 0.6992 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009019/0.6959, allocations: 369.3 kB / 0.6996 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003012/0.6989, allocations: 499.5 kB / 0.7001 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01838/0.7173, allocations: 6.87 MB / 0.7068 GB, free: 204 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000849/0.7182, allocations: 1.065 MB / 0.7078 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001322/0.7195, allocations: 218.4 kB / 0.708 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000679/0.7202, allocations: 412.1 kB / 0.7084 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of SimCode: time 1.002e-06/0.7203, allocations: 0 / 0.7084 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06561/0.7859, allocations: 33.14 MB / 0.7408 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003083/0.7863, allocations: 249.3 kB / 0.741 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.715/3.501, allocations: 4 kB / 0.741 GB, free: 14.38 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Examples_Carnot_TEva.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) Environment - environmentSimulation: