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.01058/0.01059, allocations: 101 kB / 15.73 MB, free: 6.059 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.00249/0.00249, allocations: 192 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.279/2.279, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.295/1.295, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003286/0.003286, allocations: 67.44 kB / 0.5809 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2379, allocations: 80.2 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.1216/0.3595, allocations: 61.15 MB / 0.7189 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03072/0.3903, allocations: 11.98 MB / 0.7306 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003652/0.394, allocations: 59.62 kB / 0.7306 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003429/0.3975, allocations: 0.6713 MB / 0.7313 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009095/0.4067, allocations: 1.967 MB / 0.7332 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005363/0.4121, allocations: 1.212 MB / 0.7344 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007314/0.4194, allocations: 3.071 MB / 0.7374 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003489/0.4229, allocations: 1.096 MB / 0.7385 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005619/0.4286, allocations: 1.335 MB / 0.7398 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002786/0.4314, allocations: 0.8906 MB / 0.7407 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005979/0.432, allocations: 116 kB / 0.7408 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005309/0.4373, allocations: 1.439 MB / 0.7422 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008026/0.4382, allocations: 302.8 kB / 0.7425 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002126/0.4403, allocations: 0.6919 MB / 0.7431 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007254/0.4476, allocations: 2.32 MB / 0.7454 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.402e-05/0.4476, allocations: 0 / 0.7454 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.845e-06/0.4477, allocations: 3.938 kB / 0.7454 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.31e-05/0.4478, allocations: 0 / 0.7454 GB, free: 2.168 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.006626/0.4544, allocations: 1.779 MB / 0.7471 GB, free: 332 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.434e-05/0.4545, allocations: 8.031 kB / 0.7471 GB, free: 324 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003539/0.4548, allocations: 122.9 kB / 0.7473 GB, free: 192 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6001/1.055, allocations: 414.2 kB / 0.7477 GB, free: 86.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005015/1.06, allocations: 1.163 MB / 0.7488 GB, free: 86.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001856/1.06, allocations: 61.97 kB / 0.7489 GB, free: 86.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004388/1.061, allocations: 81.73 kB / 0.7489 GB, free: 86.23 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004513/1.065, allocations: 1.004 MB / 0.7499 GB, free: 86.03 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.628e-05/1.065, allocations: 1.375 kB / 0.7499 GB, free: 86.03 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002193/1.066, allocations: 35.09 kB / 0.7499 GB, free: 86.03 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-05/1.066, allocations: 23.28 kB / 0.75 GB, free: 86.03 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004151/1.07, allocations: 0.8461 MB / 0.7508 GB, free: 85.77 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.01153/1.081, allocations: 5.223 MB / 0.7559 GB, free: 81.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005733/1.087, allocations: 0.7805 MB / 0.7567 GB, free: 81.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001267/1.088, allocations: 292.9 kB / 0.7569 GB, free: 81.51 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008199/1.089, allocations: 0.9064 MB / 0.7578 GB, free: 80.46 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/1.089, allocations: 37.59 kB / 0.7579 GB, free: 80.42 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 5.039e-06/1.089, allocations: 0.8125 kB / 0.7579 GB, free: 80.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.01233/1.102, allocations: 1.704 MB / 0.7595 GB, free: 79.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/1.102, allocations: 56.83 kB / 0.7596 GB, free: 79.92 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004621/1.107, allocations: 1.078 MB / 0.7606 GB, free: 79.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002074/1.107, allocations: 38.31 kB / 0.7607 GB, free: 79.45 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000958/1.108, allocations: 0.5411 MB / 0.7612 GB, free: 79.05 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003006/1.108, allocations: 155.4 kB / 0.7613 GB, free: 78.96 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005712/1.109, allocations: 139.7 kB / 0.7615 GB, free: 78.88 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001125/1.109, allocations: 326.5 kB / 0.7618 GB, free: 78.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/1.11, allocations: 309.2 kB / 0.7621 GB, free: 78.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001833/1.112, allocations: 0.5255 MB / 0.7626 GB, free: 78.11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002988/1.115, allocations: 0.7138 MB / 0.7633 GB, free: 77.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.898e-05/1.115, allocations: 1.688 kB / 0.7633 GB, free: 77.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.005131/1.12, allocations: 1.02 MB / 0.7643 GB, free: 77.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/1.121, allocations: 8 kB / 0.7643 GB, free: 77.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.04e-05/1.121, allocations: 6.031 kB / 0.7643 GB, free: 77.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002129/1.123, allocations: 305.7 kB / 0.7646 GB, free: 77.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009598/1.124, allocations: 126.4 kB / 0.7647 GB, free: 77.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/1.126, allocations: 0.9109 MB / 0.7656 GB, free: 76.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/1.128, allocations: 150.8 kB / 0.7657 GB, free: 76.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001896/1.128, allocations: 34.91 kB / 0.7658 GB, free: 76.54 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002159/1.131, allocations: 0.5054 MB / 0.7663 GB, free: 76.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001791/1.132, allocations: 0.5282 MB / 0.7668 GB, free: 75.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002982/1.135, allocations: 0.7033 MB / 0.7675 GB, free: 75.53 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.365e-05/1.136, allocations: 5.531 kB / 0.7675 GB, free: 75.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.005016/1.141, allocations: 1.002 MB / 0.7685 GB, free: 75.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/1.141, allocations: 11.47 kB / 0.7685 GB, free: 75.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/1.141, allocations: 5.281 kB / 0.7685 GB, free: 75.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001833/1.142, allocations: 301 kB / 0.7688 GB, free: 75.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009431/1.143, allocations: 133.5 kB / 0.7689 GB, free: 75.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/1.146, allocations: 0.8972 MB / 0.7698 GB, free: 74.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/1.148, allocations: 129.6 kB / 0.7699 GB, free: 74.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001703/1.148, allocations: 35.84 kB / 0.7699 GB, free: 74.39 MB / 0.5762 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.0004016/1.148, allocations: 221.9 kB / 0.7701 GB, free: 74.18 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006626/1.149, allocations: 117.9 kB / 0.7703 GB, free: 74.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004193/1.153, allocations: 0.919 MB / 0.7711 GB, free: 73.72 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.641e-05/1.153, allocations: 10.16 kB / 0.7712 GB, free: 73.71 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/1.153, allocations: 0 / 0.7712 GB, free: 73.71 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/1.153, allocations: 3.984 kB / 0.7712 GB, free: 73.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008821/1.162, allocations: 2.149 MB / 0.7733 GB, free: 72.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-05/1.162, allocations: 2.25 kB / 0.7733 GB, free: 72.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004776/1.163, allocations: 62.59 kB / 0.7733 GB, free: 72.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001608/1.164, allocations: 290.2 kB / 0.7736 GB, free: 72.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.595e-05/1.165, allocations: 21.39 kB / 0.7736 GB, free: 72.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/1.167, allocations: 0.9288 MB / 0.7745 GB, free: 71.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/1.167, allocations: 7.219 kB / 0.7745 GB, free: 71.35 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005992/1.173, allocations: 1.145 MB / 0.7757 GB, free: 70.66 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/1.174, allocations: 277.6 kB / 0.7759 GB, free: 70.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005238/1.175, allocations: 16.53 kB / 0.7759 GB, free: 70.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001678/1.176, allocations: 66.11 kB / 0.776 GB, free: 70.38 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/1.176, allocations: 31.84 kB / 0.776 GB, free: 70.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/1.177, allocations: 28.48 kB / 0.7761 GB, free: 70.36 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002494/1.179, allocations: 0.7522 MB / 0.7768 GB, free: 69.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.6e-07/1.179, allocations: 3.938 kB / 0.7768 GB, free: 69.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003672/1.183, allocations: 0.5721 MB / 0.7773 GB, free: 69.81 MB / 0.5762 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.007623/1.19, allocations: 1.966 MB / 0.7793 GB, free: 68.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005384/1.196, allocations: 1.12 MB / 0.7804 GB, free: 67.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/1.196, allocations: 0 / 0.7804 GB, free: 67.98 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001435/1.197, allocations: 351.7 kB / 0.7807 GB, free: 67.81 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004782/1.202, allocations: 0.5133 MB / 0.7812 GB, free: 67.56 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0272/1.229, allocations: 8.453 MB / 0.7895 GB, free: 60.86 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007965/1.23, allocations: 1.061 MB / 0.7905 GB, free: 59.77 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001434/1.232, allocations: 235.5 kB / 0.7907 GB, free: 59.54 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007909/1.233, allocations: 411.3 kB / 0.7911 GB, free: 59.14 MB / 0.5762 GB Notification: Performance of SimCode: time 1.022e-06/1.233, allocations: 0 / 0.7911 GB, free: 59.14 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.105/1.338, allocations: 33.47 MB / 0.8238 GB, free: 26.04 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.52/24.86, allocations: 6.188 kB / 0.8238 GB, free: 26.03 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_TEva.fmu > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)