Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1928/0.1935, allocations: 82.21 MB / 0.5934 GB, free: 6.031 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.04994/0.2435, allocations: 50.52 MB / 0.6427 GB, free: 3.387 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0138/0.2573, allocations: 9.436 MB / 0.6519 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00181/0.2592, allocations: 39.69 kB / 0.6519 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002084/0.2613, allocations: 0.5831 MB / 0.6525 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007087/0.2684, allocations: 1.827 MB / 0.6543 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003273/0.2717, allocations: 0.8953 MB / 0.6552 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003468/0.2751, allocations: 1.784 MB / 0.6569 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/0.2765, allocations: 0.8093 MB / 0.6577 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002548/0.279, allocations: 1.078 MB / 0.6588 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001128/0.2802, allocations: 0.6496 MB / 0.6594 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.2803, allocations: 51.94 kB / 0.6594 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/0.2822, allocations: 0.7021 MB / 0.6601 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002494/0.2825, allocations: 207.1 kB / 0.6603 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003539/0.2829, allocations: 297 kB / 0.6606 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.2846, allocations: 1.547 MB / 0.6621 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.2846, allocations: 4 kB / 0.6621 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2846, allocations: 0 / 0.6621 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.523e-05/0.2846, allocations: 0 / 0.6621 GB, free: 15.44 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002852/0.2875, allocations: 1.473 MB / 0.6636 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.2875, allocations: 15.95 kB / 0.6636 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001831/0.2894, allocations: 398 kB / 0.664 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.291, allocations: 0.9648 MB / 0.6649 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003923/0.2914, allocations: 133.9 kB / 0.665 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/0.2916, allocations: 88 kB / 0.6651 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003431/0.2951, allocations: 1.229 MB / 0.6663 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.2951, allocations: 7.938 kB / 0.6663 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-05/0.2952, allocations: 36 kB / 0.6664 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.162e-05/0.2952, allocations: 31.98 kB / 0.6664 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002766/0.298, allocations: 1.034 MB / 0.6674 GB, free: 9.852 MB / 0.5137 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.007288/0.3053, allocations: 5.955 MB / 0.6732 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002673/0.308, allocations: 0.6369 MB / 0.6738 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009755/0.309, allocations: 0.7433 MB / 0.6746 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.3091, allocations: 38.89 kB / 0.6746 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=39): time 2.064e-06/0.3091, allocations: 3.938 kB / 0.6746 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39): time 0.007906/0.317, allocations: 1.951 MB / 0.6765 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.892e-05/0.3171, allocations: 162.2 kB / 0.6767 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/0.3188, allocations: 1.124 MB / 0.6778 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.319, allocations: 37.7 kB / 0.6778 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000626/0.3196, allocations: 0.5811 MB / 0.6784 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.3197, allocations: 142 kB / 0.6785 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.3198, allocations: 16 kB / 0.6785 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.32, allocations: 334 kB / 0.6788 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008982/0.3209, allocations: 341 kB / 0.6791 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.3221, allocations: 0.6595 MB / 0.6798 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.3232, allocations: 396.5 kB / 0.6802 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.3233, allocations: 0 / 0.6802 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004542/0.3278, allocations: 1.428 MB / 0.6816 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.00107/0.3289, allocations: 2.639 MB / 0.6841 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.3289, allocations: 11.95 kB / 0.6842 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/0.3301, allocations: 368.6 kB / 0.6845 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006446/0.3307, allocations: 151.8 kB / 0.6847 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/0.3324, allocations: 1.002 MB / 0.6856 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.334, allocations: 238.9 kB / 0.6859 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.799e-05/0.3341, allocations: 35.98 kB / 0.6859 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.3341, allocations: 8 kB / 0.6859 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003263/0.3374, allocations: 1.111 MB / 0.687 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.1e-05/0.3374, allocations: 4 kB / 0.687 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00098/0.3384, allocations: 332.3 kB / 0.6873 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005325/0.3389, allocations: 151.8 kB / 0.6875 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.3404, allocations: 0.9348 MB / 0.6884 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.3417, allocations: 187.1 kB / 0.6885 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/0.3419, allocations: 31.98 kB / 0.6886 GB, free: 3.117 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (69): * Single equations (assignments): 68 * 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 13} Notification: Performance of prepare postOptimizeDAE: time 0.0007645/0.3427, allocations: 372.8 kB / 0.6889 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.3429, allocations: 114.6 kB / 0.689 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004086/0.3469, allocations: 1.145 MB / 0.6902 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.347, allocations: 8 kB / 0.6902 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.347, allocations: 0 / 0.6902 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.347, allocations: 7.938 kB / 0.6902 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.34/0.687, allocations: 2.112 MB / 0.6922 GB, free: 97.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.6871, allocations: 2.344 kB / 0.6922 GB, free: 97.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002864/0.6874, allocations: 67.91 kB / 0.6923 GB, free: 97.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001154/0.6885, allocations: 360.2 kB / 0.6926 GB, free: 97.24 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-05/0.6886, allocations: 20.61 kB / 0.6927 GB, free: 97.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/0.6901, allocations: 0.977 MB / 0.6936 GB, free: 96.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.6902, allocations: 5.25 kB / 0.6936 GB, free: 96.73 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00357/0.6937, allocations: 1.359 MB / 0.695 GB, free: 96.35 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005781/0.6943, allocations: 286.1 kB / 0.6952 GB, free: 96.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.6945, allocations: 12.84 kB / 0.6952 GB, free: 96.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008933/0.6954, allocations: 119.7 kB / 0.6953 GB, free: 96.25 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.886e-05/0.6955, allocations: 37.12 kB / 0.6954 GB, free: 96.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.015e-05/0.6955, allocations: 23.88 kB / 0.6954 GB, free: 96.25 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001197/0.6967, allocations: 0.7832 MB / 0.6962 GB, free: 96.14 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.445e-06/0.6968, allocations: 0 / 0.6962 GB, free: 96.14 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001599/0.6984, allocations: 0.5619 MB / 0.6967 GB, free: 96.11 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005921/0.699, allocations: 294.8 kB / 0.697 GB, free: 96.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003003/0.702, allocations: 1.188 MB / 0.6982 GB, free: 95.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.702, allocations: 3.25 kB / 0.6982 GB, free: 95.98 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008035/0.7028, allocations: 338.1 kB / 0.6985 GB, free: 95.96 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/0.7052, allocations: 0.5439 MB / 0.699 GB, free: 95.96 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003409/0.7087, allocations: 2.171 MB / 0.7011 GB, free: 94.91 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006079/0.7093, allocations: 1.076 MB / 0.7022 GB, free: 94.21 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00108/0.7104, allocations: 239.7 kB / 0.7024 GB, free: 94.16 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.7106, allocations: 83.52 kB / 0.7025 GB, free: 94.16 MB / 0.5294 GB Notification: Performance of SimCode: time 1.734e-06/0.7106, allocations: 0 / 0.7025 GB, free: 94.16 MB / 0.5294 GB Notification: Performance of Templates: time 0.03897/0.7495, allocations: 24.42 MB / 0.7263 GB, free: 81.82 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1) Environment - environmentSimulation: