Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Chillers.Examples.Carnot_TEva,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IDEAS_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.001075/0.001075, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.266/1.266, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7157/0.7157, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 56.56 kB / 0.5019 GB, free: 3.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3581, allocations: 80.2 MB / 0.5802 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.05836/0.4165, allocations: 61.14 MB / 0.6399 GB, free: 4.203 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01611/0.4327, allocations: 11.98 MB / 0.6516 GB, free: 8.195 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003072/0.4358, allocations: 55.69 kB / 0.6516 GB, free: 8.141 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002556/0.4384, allocations: 0.683 MB / 0.6523 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006741/0.4452, allocations: 1.955 MB / 0.6542 GB, free: 5.488 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003334/0.4486, allocations: 1.201 MB / 0.6554 GB, free: 4.297 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004521/0.4531, allocations: 3.079 MB / 0.6584 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001795/0.4549, allocations: 1.1 MB / 0.6595 GB, free: 84 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003092/0.458, allocations: 1.318 MB / 0.6608 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.4593, allocations: 0.8945 MB / 0.6616 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001903/0.4595, allocations: 116 kB / 0.6617 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002655/0.4622, allocations: 1.447 MB / 0.6632 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002697/0.4625, allocations: 298.8 kB / 0.6634 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007344/0.4632, allocations: 0.6881 MB / 0.6641 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003062/0.4663, allocations: 2.279 MB / 0.6663 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4663, allocations: 4 kB / 0.6663 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4663, allocations: 0 / 0.6663 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.59e-05/0.4664, allocations: 0 / 0.6663 GB, free: 9.027 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.002834/0.4692, allocations: 1.728 MB / 0.668 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.4692, allocations: 8.031 kB / 0.668 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001362/0.4694, allocations: 122.9 kB / 0.6682 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002183/0.4716, allocations: 414.6 kB / 0.6686 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/0.4735, allocations: 1.097 MB / 0.6696 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003599/0.4739, allocations: 121.9 kB / 0.6697 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.474, allocations: 83.94 kB / 0.6698 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/0.4759, allocations: 1.001 MB / 0.6708 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.476, allocations: 3.938 kB / 0.6708 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-05/0.476, allocations: 32 kB / 0.6708 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.4761, allocations: 20 kB / 0.6708 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002223/0.4783, allocations: 0.8625 MB / 0.6717 GB, free: 3.359 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.006375/0.4847, allocations: 5.25 MB / 0.6768 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003406/0.4881, allocations: 0.8051 MB / 0.6776 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007401/0.4889, allocations: 302.7 kB / 0.6779 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006692/0.4895, allocations: 0.9064 MB / 0.6788 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.4896, allocations: 38.56 kB / 0.6788 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.384e-06/0.4896, allocations: 0 / 0.6788 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007316/0.4969, allocations: 1.755 MB / 0.6805 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.497, allocations: 63.28 kB / 0.6806 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/0.4986, allocations: 1.08 MB / 0.6816 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.538e-05/0.4986, allocations: 37.7 kB / 0.6817 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004152/0.4991, allocations: 0.5311 MB / 0.6822 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.4992, allocations: 149.9 kB / 0.6823 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.4994, allocations: 138.1 kB / 0.6825 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.4995, allocations: 334 kB / 0.6828 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008805/0.5004, allocations: 307.3 kB / 0.6831 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.5015, allocations: 0.533 MB / 0.6836 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/0.5032, allocations: 0.725 MB / 0.6843 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.5032, allocations: 0 / 0.6843 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002739/0.506, allocations: 1.024 MB / 0.6853 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.506, allocations: 7.938 kB / 0.6853 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.506, allocations: 8 kB / 0.6853 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/0.5073, allocations: 312.6 kB / 0.6856 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000541/0.5079, allocations: 139.8 kB / 0.6858 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/0.5093, allocations: 0.9175 MB / 0.6867 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.5105, allocations: 151.2 kB / 0.6868 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.838e-05/0.5106, allocations: 35.98 kB / 0.6868 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001175/0.5118, allocations: 0.5051 MB / 0.6873 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001026/0.5128, allocations: 0.5405 MB / 0.6879 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001623/0.5145, allocations: 0.7101 MB / 0.6885 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.996e-06/0.5145, allocations: 0 / 0.6885 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002635/0.5171, allocations: 1.016 MB / 0.6895 GB, free: 8 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.5172, allocations: 12.08 kB / 0.6896 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5172, allocations: 4 kB / 0.6896 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.5183, allocations: 312.6 kB / 0.6899 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005363/0.5188, allocations: 127.8 kB / 0.69 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.5203, allocations: 0.9129 MB / 0.6909 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.5215, allocations: 139.5 kB / 0.691 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-05/0.5216, allocations: 31.98 kB / 0.691 GB, free: 14.45 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002274/0.5218, allocations: 217.4 kB / 0.6912 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.522, allocations: 110.6 kB / 0.6913 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0024/0.5244, allocations: 0.9413 MB / 0.6923 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.5245, allocations: 4 kB / 0.6923 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5245, allocations: 0 / 0.6923 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.5245, allocations: 3.984 kB / 0.6923 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004988/0.5295, allocations: 2.155 MB / 0.6944 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.5295, allocations: 7.938 kB / 0.6944 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002764/0.5298, allocations: 63.89 kB / 0.6944 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/0.5308, allocations: 296.9 kB / 0.6947 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/0.5309, allocations: 15.98 kB / 0.6947 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001449/0.5323, allocations: 0.9444 MB / 0.6957 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5323, allocations: 4.031 kB / 0.6957 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003615/0.536, allocations: 1.16 MB / 0.6968 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00044/0.5364, allocations: 271.5 kB / 0.6971 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.5366, allocations: 11.98 kB / 0.6971 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008055/0.5374, allocations: 83.86 kB / 0.6972 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.541e-05/0.5375, allocations: 39.83 kB / 0.6972 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.842e-05/0.5375, allocations: 19.98 kB / 0.6972 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001138/0.5387, allocations: 0.759 MB / 0.6979 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5387, allocations: 0 / 0.6979 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001431/0.5401, allocations: 0.5653 MB / 0.6985 GB, free: 6.598 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004564/0.5447, allocations: 1.966 MB / 0.7004 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003297/0.548, allocations: 1.148 MB / 0.7015 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.548, allocations: 4.188 kB / 0.7015 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009032/0.5489, allocations: 354.5 kB / 0.7019 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002322/0.5513, allocations: 0.5126 MB / 0.7024 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01713/0.5684, allocations: 8.909 MB / 0.7111 GB, free: 9.211 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006326/0.5691, allocations: 1.061 MB / 0.7121 GB, free: 8.121 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000961/0.57, allocations: 224.6 kB / 0.7123 GB, free: 7.902 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004975/0.5705, allocations: 411.3 kB / 0.7127 GB, free: 7.5 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/0.5706, allocations: 0 / 0.7127 GB, free: 7.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3154/0.886, allocations: 33.27 MB / 0.7452 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.69, allocations: 14.66 kB / 0.7452 GB, free: 6.668 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_TEva.fmu > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)