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.005186/0.005186, allocations: 103.6 kB / 15.74 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.001225/0.001225, allocations: 201.2 kB / 16.68 MB, free: 5.965 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.268/1.268, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6973/0.6973, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 67.38 kB / 0.5809 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1551, allocations: 80.2 MB / 0.6592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.0541/0.2092, allocations: 61.15 MB / 0.7189 GB, free: 0.668 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01552/0.2248, allocations: 11.97 MB / 0.7306 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/0.2267, allocations: 59.69 kB / 0.7306 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001684/0.2284, allocations: 0.6986 MB / 0.7313 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004694/0.2332, allocations: 2.062 MB / 0.7333 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002619/0.2358, allocations: 1.206 MB / 0.7345 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003346/0.2391, allocations: 3.1 MB / 0.7375 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.2404, allocations: 1.092 MB / 0.7386 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002551/0.2429, allocations: 1.371 MB / 0.74 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.244, allocations: 0.8828 MB / 0.7408 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.2441, allocations: 116 kB / 0.7409 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002417/0.2465, allocations: 1.447 MB / 0.7423 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002511/0.2468, allocations: 294.8 kB / 0.7426 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006128/0.2474, allocations: 0.692 MB / 0.7433 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002768/0.2502, allocations: 2.324 MB / 0.7456 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2502, allocations: 0 / 0.7456 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.614e-06/0.2502, allocations: 0 / 0.7456 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.2502, allocations: 0 / 0.7456 GB, free: 5.266 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.002641/0.2529, allocations: 1.777 MB / 0.7473 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.2529, allocations: 8.031 kB / 0.7473 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001262/0.2531, allocations: 130.8 kB / 0.7474 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002047/0.2551, allocations: 423.2 kB / 0.7478 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/0.257, allocations: 1.164 MB / 0.749 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.65e-05/0.2571, allocations: 58 kB / 0.749 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.2572, allocations: 84 kB / 0.7491 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.2591, allocations: 1.005 MB / 0.7501 GB, free: 456 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.2591, allocations: 7.984 kB / 0.7501 GB, free: 448 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-05/0.2592, allocations: 32 kB / 0.7501 GB, free: 416 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.2592, allocations: 16 kB / 0.7501 GB, free: 400 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/0.2612, allocations: 0.8546 MB / 0.751 GB, free: 15.53 MB / 0.5919 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.005678/0.2669, allocations: 5.208 MB / 0.7561 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003142/0.2701, allocations: 0.7905 MB / 0.7568 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006638/0.2708, allocations: 300.7 kB / 0.7571 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005848/0.2714, allocations: 0.9025 MB / 0.758 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.2714, allocations: 42.5 kB / 0.758 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.314e-06/0.2714, allocations: 0 / 0.758 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.006457/0.2779, allocations: 1.689 MB / 0.7597 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.2779, allocations: 67.33 kB / 0.7598 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.2794, allocations: 1.072 MB / 0.7608 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.287e-05/0.2795, allocations: 41.7 kB / 0.7608 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003979/0.2799, allocations: 0.5359 MB / 0.7614 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.28, allocations: 162.7 kB / 0.7615 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000215/0.2802, allocations: 134.2 kB / 0.7617 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.2803, allocations: 322 kB / 0.762 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008431/0.2812, allocations: 311.2 kB / 0.7623 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.2822, allocations: 0.529 MB / 0.7628 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001568/0.2838, allocations: 0.7171 MB / 0.7635 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-06/0.2838, allocations: 4 kB / 0.7635 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002439/0.2863, allocations: 1.013 MB / 0.7645 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.2863, allocations: 17.95 kB / 0.7645 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.2863, allocations: 4 kB / 0.7645 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/0.2875, allocations: 308.6 kB / 0.7648 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005245/0.288, allocations: 123.8 kB / 0.7649 GB, free: 432 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.2894, allocations: 0.9108 MB / 0.7658 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.2905, allocations: 147.5 kB / 0.7659 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.841e-05/0.2905, allocations: 31.98 kB / 0.766 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001127/0.2917, allocations: 0.509 MB / 0.7665 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009602/0.2926, allocations: 0.5225 MB / 0.767 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001506/0.2942, allocations: 0.71 MB / 0.7677 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.365e-06/0.2942, allocations: 4 kB / 0.7677 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002445/0.2966, allocations: 1.005 MB / 0.7686 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.2966, allocations: 8 kB / 0.7687 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.2967, allocations: 7.984 kB / 0.7687 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009584/0.2976, allocations: 296.6 kB / 0.7689 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005126/0.2981, allocations: 131.9 kB / 0.7691 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.2994, allocations: 0.888 MB / 0.7699 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.3005, allocations: 147.6 kB / 0.7701 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-05/0.3005, allocations: 35.97 kB / 0.7701 GB, free: 10.85 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.0002011/0.3008, allocations: 212.1 kB / 0.7703 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/0.3009, allocations: 119.2 kB / 0.7704 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/0.3031, allocations: 0.9146 MB / 0.7713 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.3032, allocations: 7.984 kB / 0.7713 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3032, allocations: 0 / 0.7713 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.3032, allocations: 4 kB / 0.7713 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004618/0.3078, allocations: 2.139 MB / 0.7734 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.3078, allocations: 8.219 kB / 0.7734 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.3081, allocations: 67.89 kB / 0.7735 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009032/0.309, allocations: 284.5 kB / 0.7738 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/0.309, allocations: 19.98 kB / 0.7738 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.3104, allocations: 0.9253 MB / 0.7747 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.3104, allocations: 8.031 kB / 0.7747 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003289/0.3137, allocations: 1.157 MB / 0.7758 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003974/0.3141, allocations: 272.1 kB / 0.7761 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.3142, allocations: 15.98 kB / 0.7761 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007764/0.315, allocations: 67.92 kB / 0.7762 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.453e-05/0.3151, allocations: 43.83 kB / 0.7762 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.707e-05/0.3152, allocations: 23.98 kB / 0.7762 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001069/0.3162, allocations: 0.7512 MB / 0.777 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3162, allocations: 0 / 0.777 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001395/0.3176, allocations: 0.5731 MB / 0.7775 GB, free: 3.051 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.004232/0.3219, allocations: 1.965 MB / 0.7794 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002964/0.3249, allocations: 1.12 MB / 0.7805 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.3249, allocations: 4 kB / 0.7805 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008214/0.3257, allocations: 347.5 kB / 0.7809 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/0.3278, allocations: 0.5025 MB / 0.7814 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/0.3431, allocations: 8.437 MB / 0.7896 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005422/0.3436, allocations: 1.065 MB / 0.7906 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007878/0.3444, allocations: 228.3 kB / 0.7909 GB, free: 5.004 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004792/0.3449, allocations: 419.3 kB / 0.7913 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of SimCode: time 5.91e-07/0.3449, allocations: 3.938 kB / 0.7913 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3561/0.701, allocations: 33.45 MB / 0.8239 GB, free: 140.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.21, allocations: 11.94 kB / 0.8239 GB, free: 140.5 MB / 0.6387 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)