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.00787/0.00787, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001724/0.001724, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9643/0.9643, allocations: 135.1 MB / 425.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 71.88 kB / 0.5851 GB, free: 3.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4532/0.4545, allocations: 80.91 MB / 0.6641 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.06538/0.5199, allocations: 61.14 MB / 0.7238 GB, free: 4.285 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02029/0.5403, allocations: 11.99 MB / 0.7356 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003907/0.5442, allocations: 59.62 kB / 0.7356 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003264/0.5476, allocations: 0.7025 MB / 0.7363 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008061/0.5557, allocations: 2.059 MB / 0.7383 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004061/0.5597, allocations: 1.207 MB / 0.7395 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005878/0.5656, allocations: 3.087 MB / 0.7425 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002076/0.5677, allocations: 1.104 MB / 0.7436 GB, free: 4 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003833/0.5716, allocations: 1.366 MB / 0.7449 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00179/0.5734, allocations: 0.8945 MB / 0.7458 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000449/0.5739, allocations: 112 kB / 0.7459 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003513/0.5774, allocations: 1.443 MB / 0.7473 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005047/0.5779, allocations: 294.8 kB / 0.7476 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.5792, allocations: 0.688 MB / 0.7483 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004364/0.5835, allocations: 2.314 MB / 0.7505 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.5836, allocations: 0 / 0.7505 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5836, allocations: 0 / 0.7505 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.504e-05/0.5836, allocations: 0 / 0.7505 GB, free: 8.879 MB / 0.5762 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.003778/0.5874, allocations: 1.726 MB / 0.7522 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.5875, allocations: 16.03 kB / 0.7522 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001932/0.5877, allocations: 122.9 kB / 0.7523 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002221/0.5899, allocations: 406.4 kB / 0.7527 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002709/0.5926, allocations: 1.159 MB / 0.7539 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.988e-05/0.5927, allocations: 66 kB / 0.7539 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.5929, allocations: 87.92 kB / 0.754 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/0.595, allocations: 0.9937 MB / 0.755 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.5951, allocations: 7.938 kB / 0.755 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.527e-05/0.5952, allocations: 32 kB / 0.755 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.5952, allocations: 24 kB / 0.755 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002374/0.5976, allocations: 0.8469 MB / 0.7559 GB, free: 3.215 MB / 0.5762 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.008676/0.6063, allocations: 5.215 MB / 0.7609 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003295/0.6096, allocations: 0.7855 MB / 0.7617 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007196/0.6103, allocations: 299.6 kB / 0.762 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008237/0.6112, allocations: 0.9025 MB / 0.7629 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.6112, allocations: 46.55 kB / 0.7629 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.574e-06/0.6113, allocations: 0 / 0.7629 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.007016/0.6183, allocations: 1.682 MB / 0.7646 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.6184, allocations: 59.34 kB / 0.7646 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/0.6207, allocations: 1.08 MB / 0.7657 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.51e-05/0.6208, allocations: 37.7 kB / 0.7657 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005243/0.6214, allocations: 0.5272 MB / 0.7662 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.6216, allocations: 153.8 kB / 0.7664 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002946/0.6219, allocations: 130.2 kB / 0.7665 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.622, allocations: 337.9 kB / 0.7668 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008894/0.6229, allocations: 303.3 kB / 0.7671 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.624, allocations: 0.5329 MB / 0.7676 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.6257, allocations: 0.7096 MB / 0.7683 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.291e-05/0.6257, allocations: 4 kB / 0.7683 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002854/0.6286, allocations: 1.016 MB / 0.7693 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.6286, allocations: 11.94 kB / 0.7693 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.6286, allocations: 4 kB / 0.7693 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/0.6299, allocations: 304.1 kB / 0.7696 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006386/0.6306, allocations: 131.8 kB / 0.7698 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.6321, allocations: 0.8996 MB / 0.7706 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.6334, allocations: 151.2 kB / 0.7708 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.6335, allocations: 35.98 kB / 0.7708 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001278/0.6348, allocations: 0.5012 MB / 0.7713 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001074/0.6359, allocations: 0.5251 MB / 0.7718 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001744/0.6377, allocations: 0.7138 MB / 0.7725 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.496e-06/0.6377, allocations: 0 / 0.7725 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003083/0.6408, allocations: 1 MB / 0.7735 GB, free: 104 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.6409, allocations: 8 kB / 0.7735 GB, free: 96 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.6409, allocations: 4 kB / 0.7735 GB, free: 92 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/0.6421, allocations: 296.7 kB / 0.7738 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005669/0.6427, allocations: 127.8 kB / 0.7739 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/0.6442, allocations: 0.8995 MB / 0.7748 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.6458, allocations: 135.6 kB / 0.7749 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.646, allocations: 31.98 kB / 0.7749 GB, free: 14.58 MB / 0.6075 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.0003977/0.6464, allocations: 228.8 kB / 0.7752 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004929/0.6469, allocations: 114.5 kB / 0.7753 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002587/0.6495, allocations: 0.9184 MB / 0.7762 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.591e-05/0.6495, allocations: 4 kB / 0.7762 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.6495, allocations: 4 kB / 0.7762 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.6496, allocations: 3.984 kB / 0.7762 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005746/0.6553, allocations: 2.138 MB / 0.7783 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.921e-05/0.6554, allocations: 7.938 kB / 0.7783 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.6557, allocations: 63.89 kB / 0.7783 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009987/0.6567, allocations: 284.8 kB / 0.7786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.487e-05/0.6568, allocations: 19.98 kB / 0.7786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/0.6582, allocations: 0.9191 MB / 0.7795 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.6582, allocations: 4.031 kB / 0.7795 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003455/0.6617, allocations: 1.148 MB / 0.7806 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005877/0.6623, allocations: 267.4 kB / 0.7809 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002582/0.6625, allocations: 12 kB / 0.7809 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009684/0.6635, allocations: 71.92 kB / 0.781 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.6636, allocations: 47.77 kB / 0.781 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.82e-05/0.6637, allocations: 23.98 kB / 0.7811 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001617/0.6653, allocations: 0.7473 MB / 0.7818 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.51e-07/0.6654, allocations: 4 kB / 0.7818 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002207/0.6676, allocations: 0.577 MB / 0.7823 GB, free: 6.781 MB / 0.6075 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.004635/0.6722, allocations: 1.966 MB / 0.7843 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003383/0.6756, allocations: 1.117 MB / 0.7854 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.6756, allocations: 0 / 0.7854 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008933/0.6765, allocations: 347.2 kB / 0.7857 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002455/0.679, allocations: 0.5072 MB / 0.7862 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01859/0.6976, allocations: 8.396 MB / 0.7944 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007848/0.6984, allocations: 1.061 MB / 0.7954 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001043/0.6995, allocations: 228.8 kB / 0.7956 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006412/0.7002, allocations: 415.3 kB / 0.796 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of SimCode: time 8.41e-07/0.7002, allocations: 0 / 0.796 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07305/0.7732, allocations: 33.48 MB / 0.8287 GB, free: 7.301 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.17, allocations: 13.27 kB / 0.8287 GB, free: 7.289 MB / 0.6544 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/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)